PHP code example of kamaelkz / yii2-admin-panel

1. Go to this page and download the library: Download kamaelkz/yii2-admin-panel 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/ */

    

kamaelkz / yii2-admin-panel example snippets


    # конфигурация приложения (из коробки return)
    $config = [
        ...
    ];

    return yii\helpers\ArrayHelper::merge( 
        ...
        kamaelkz\yii2admin\v1\Yii2Admin::getConfiguration(Yii2Admin::WEB),
        $config
        ....
    );

    # конфигурация приложения (из коробки return)
    $config = [
        ...
    ];

    return yii\helpers\ArrayHelper::merge(
        ...
        kamaelkz\yii2admin\v1\Yii2Admin::getConfiguration(Yii2Admin::CONSOLE),
        $config
        ....
    );