PHP code example of jinowom / yii2wajaxcrud

1. Go to this page and download the library: Download jinowom/yii2wajaxcrud 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/ */

    

jinowom / yii2wajaxcrud example snippets


'modules' => [
    'gridview' =>  [
        'class' => '\kartik\grid\Module'
    ]       
]

$config['bootstrap'][] = 'gii';
$config['modules']['gii'] = [
    'class' => 'yii\gii\Module',
];
$config['modules']['gii']['generators']['wodrowmodel'] = [
    'class' => \jinowom\wajaxcrud\generators\model\Generator::class,
    'showName' => "YOUR MODEL GENERATOR",
];
$config['modules']['gii']['generators']['wodrowwajaxcrud'] = [
    'class' => \jinowom\wajaxcrud\generators\crud\Generator::class,
    'showName' => "YOUR AJAX CRUD GENERATOR",
];