PHP code example of caohui123 / yii2-ajaxmodal

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

    

caohui123 / yii2-ajaxmodal example snippets


'modules' => [
        'gii' => [
            'class' => 'yii\gii\Module',
            'generators' => [
                'crud' => [
                    'class' => 'yii\gii\generators\crud\Generator',
                    'templates' => [
                        'ajax-modal' => '@vendor/caohui123/yii2-ajaxmodal/gii-template/curd/default',
                    ]
                ]
            ],
        ]
    ],