PHP code example of nkovacs / yii2-mysql

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

    

nkovacs / yii2-mysql example snippets


Yii::$container->set('yii\db\mysql\Schema', 'nkovacs\mysql\Schema');

Yii::$container->set('yii\db\mysql\Schema', [
    'class' => 'nkovacs\mysql\Schema',
    'defaultTextType' => 'longtext',
]);

php composer.phar