Skip to content

Latest commit

 

History

History
executable file
·
68 lines (49 loc) · 2.06 KB

README.md

File metadata and controls

executable file
·
68 lines (49 loc) · 2.06 KB

Yii 2 + AdminLTE 3 (Bootstrap 4)

Yii2 Basic Project Template Build on AssetBundle (No CDN/Import CSS,JS Files)


ss

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.

Latest Stable Version Total Downloads Build Status

REQUIREMENTS

The minimum requirement by this project template that your Web server supports PHP 5.4.0.

INSTALLATION

Install via Composer

$ 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

CONFIGURATION

Theme Structure

  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

Database

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',
];