PHP code example of it-yakutia / yii2-banner
1. Go to this page and download the library: Download it-yakutia/yii2-banner 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/ */
it-yakutia / yii2-banner example snippets
'controllerMap' => [
...
'migrate' => [
...
'migrationPath' => [
...
'@vendor/it-yakutia/banner/src/migrations',
],
],
]
<?= Url::toRoute(['/banner/back/index']);
sh
php yii fixture Banner --namespace='ityakutia\banner\tests\fixtures'
sh
php yii fixture Banner --namespace='ityakutia\banner\tests\fixtures' --interactive=0