PHP code example of webtoolsnz / yii2-importer

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

    

webtoolsnz / yii2-importer example snippets


[
    'bootstrap' => ['importer'],
    'controllerMap' => [
        'importer' => [
            'class' => 'backend\commands\ImporterController',
        ],
    ],
    'modules' => [
        'importer' => [
            'class' => 'webtoolsnz\importer\Module',
        ],
    ],
]

[
    'bootstrap' => ['importer'],
    'modules' => [
        'importer' => [
            'class' => 'webtoolsnz\importer\Module',
        ],
    ],
]


class ImportController extends \webtoolsnz\importer\ImporterController
{
    
}