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