Yii 2 Basic Project Template is a skeleton Yii 2 application best for rapidly creating small projects.
The template contains the basic features including user login/logout and a contact page. It includes all commonly used configurations that would allow you to focus on adding new features to your application.
The minimum requirement by this project template that your Web server supports PHP 5.4.0.
$ git clone https://github.com/kongvut/yii2-basic-adminlte3
$ cd yii2-basic-adminlte3
$ composer install
Run Server Development
$ ./yii serve
Server started on http://localhost:8080
themes/adminlte3/views/layouts/main.php contains base layout
views/layouts/app.layout.php contains main app layout
views/layouts/header.php contains header menu for app app layout
views/layouts/menu.php contains menu for app app layout
Edit the file config/db.php
with real data, for example:
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=yii2basic',
'username' => 'root',
'password' => '1234',
'charset' => 'utf8',
];