PHP code example of wolfguard / yii2-video-gallery
1. Go to this page and download the library: Download wolfguard/yii2-video-gallery 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/ */
wolfguard / yii2-video-gallery example snippets
return [
...
'modules' => [
...
'video_gallery' => [
'class' => 'wolfguard\video_gallery\Module',
],
...
],
...
];
<?= \wolfguard\video_gallery\widgets\VideoCode::widget(['code' => 'video-gallery-code']);
php composer.phar
php composer.phar update
config/web.php