PHP code example of ytubes / videos-admin

1. Go to this page and download the library: Download ytubes/videos-admin 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/ */

    

ytubes / videos-admin example snippets


'modules' => [
    'videos' => [
        'class' => 'ytubes\videos\admin\Module',
    ],
],

'controllerMap' => [
    'migrate' => [
        'class' => 'yii\console\controllers\MigrateController',
           'migrationPath' => [
                '@vendor/ytubes/videos-admin/migrations',
        ],
    ],
],