PHP code example of it-yakutia / yii2-partner

1. Go to this page and download the library: Download it-yakutia/yii2-partner 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-partner example snippets


'controllerMap' => [
    ...
    'migrate' => [
    ...
        'migrationPath' => [
            ...
            '@vendor/it-yakutia/partner/src/migrations',
        ],
    ],
]


<?= Url::toRoute(['/partner/back/index']); 

<?= \ityakutia\partner\widgets\partner\PartnerWidget::widget(); 
sh
php yii fixture Partner --namespace='ityakutia\partner\tests\fixtures'
sh
php yii fixture Partner --namespace='ityakutia\partner\tests\fixtures' --interactive=0