Yii2 Web Application is a Starter Project dedicated to the yii2 developer community which is equipped with features for fast application creation needs with extra security.
Frontend : https://yii2-web-apps.000webhostapp.com/
Backend : https://yii2-web-apps.000webhostapp.com/backend
AdminLTE 3 https://adminlte.io/docs/3.0
Yii2 Lastest Version https://www.yiiframework.com/doc/guide/2.0/en
Bootstrap 4 https://getbootstrap.com/docs/4.0/getting-started/introduction
https://opencollective.com/yiisoft
Video : https://www.facebook.com/100009334052956/videos/953630405682056/
$ git clone https://github.com/adyoi/yii2-webapps.git webapps
$ cd webapps
$ cd system
$ chmod +x ./init
$ ./init
$ composer update
Default Directory Frontend /
Default Directory Backend /backend
# Change Directory Backend
$ sudo ./chbackend.sh
$ sudo ./mkassets.sh
-
import webapps.sql
-
/system/common/config/main-local.php
<?php
return [
'components' => [
'application' => [
'class' => 'common\components\Application',
],
'db' => [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=webapps',
'username' => 'root',
'password' => '',
'charset' => 'utf8',
],
'db2' => [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=webapps_table',
'username' => 'root',
'password' => '',
'charset' => 'utf8',
],
...
...
],
];
- /system/common/config/param-local.php
<?php
return [
'bsVersion' => '4.x',
'bsDependencyEnabled' => false,
'upload' => '/images/upload/',
];
- /system/common/config/main.php
<?php
return [
// Language
'language' => 'id_ID',
// Timezone
'timeZone' => 'Asia/Jakarta',
...
...
];
- /backend/.htaccess
RewriteEngine on
# link generate to http://localhost/webapps/backend
RewriteBase /webapps/backend
...
...
- Default Account
// User Access
username : root
password : root
// Demo Menu
username : menu
password : menu
// User
username : admin
password : admin
username : user
password : user
- Browser
Frontend : http://localhost/webapps/
Backend : http://localhost/webapps/backend
User Menu Level :
API Support :
- PAYPAL
- BANK BCA (INDONESIA)
Account Number : 4740919909
Account Name : ADI APRIYANTO