PHP code example of kaikaige / yii2-layui

1. Go to this page and download the library: Download kaikaige/yii2-layui library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

kaikaige / yii2-layui example snippets


'as access' => [
    'class' => 'mdm\admin\components\AccessControl',
    'allowActions' => [
        'site/login',
        'site/logout',
        'site/index',
        'debug/*',
        'admin/*',
    ]
],