PHP code example of croacworks / yii2basic
1. Go to this page and download the library: Download croacworks/yii2basic 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/ */
croacworks / yii2basic example snippets
'modules' => [
'common' => [ 'class' => '\croacworks\yii2basic\Module', ]
],
php yii migrate --migrationPath=@vendor/croacworks/yii2basic/src/migrations --interactive=0