PHP code example of lengbin / yii-gii-model

1. Go to this page and download the library: Download lengbin/yii-gii-model 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/ */

    

lengbin / yii-gii-model example snippets


    $config['bootstrap'][] = 'gii';
    $config['modules']['gii'] = [
        'class'      => 'yii\gii\Module',
        'generators' => [
            'model' => [
                'class' => 'lengbin\gii\model\Generator',
            ],
            //...
        ],
    ];
    //...