

Yii2 Core is a Starter Project dedicated to the Yii2 developer community, equipped with features for fast application creation needs with extra security.
Link Demo
This project was built with
Become an Open Source Collective contributor
https://opencollective.com/yiisoft

Installation
$ git clone https://github.com/samsul97/yii2-core-admin.git
$ cd webapps
$ cd system
$ chmod +x ./init
$ ./init
$ composer update
Create Directory Assets
Default Directory Frontend /
Default Directory Backend /backend
# Change Directory Backend
$ sudo ./chbackend.sh
$ sudo ./mkassets.sh
Configuration
/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://127.0.0.1/webapps/
- Backend:
http://127.0.0.1/webapps/backend
Version 2.2


Version 2.1



Version 2.0
User Menu Level


API Support

