artem163397/my_crud

AdminLTE - admin control panel and dashboard that's based on Bootstrap 3

dev-master 2017-06-24 05:39 UTC

This package is not auto-updated.

Last update: 2024-04-09 14:37:52 UTC


README

composer require artem163397/my_crud "dev-master"

В файле config/web.php. В конце заменить

if (YII_ENV_DEV) { // configuration adjustments for 'dev' environment $config['bootstrap'][] = 'debug'; $config['modules']['debug'] = [ 'class' => 'yii\debug\Module', // uncomment the following to add your IP if you are not connecting from localhost. //'allowedIPs' => ['127.0.0.1', '::1'], ];

$config['bootstrap'][] = 'gii';
$config['modules']['gii'] = [
    'class' => 'yii\gii\Module',
    'generators' => [
        'crud' => [
            'class' => 'yii\gii\generators\crud\Generator',
            'templates' => ['My' => '@app/vendor/artem163397/my_crud']
        ]
    ],
    // uncomment the following to add your IP if you are not connecting from localhost.
    //'allowedIPs' => ['127.0.0.1', '::1'],
];

}