1. Go to this page and download the library: Download hmtvltk2/yii2-kartikgii 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/ */
hmtvltk2 / yii2-kartikgii example snippets
//Add this into config/web
$config['modules']['gii']['generators'] = [
'kartikgii-crud' => ['class' => 'hmtvltk2\kartikgii\crud\Generator'],
];
// Add modules 'gridview' and 'datecontrol' into your 'modules' section in config/web
'modules' => [
'gridview' => 'kartik\grid\Module',
'datecontrol' => 'kartik\datecontrol\Module',
],