PHP code example of onmotion / yii2-gallery
1. Go to this page and download the library: Download onmotion/yii2-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/ */
onmotion / yii2-gallery example snippets
php composer.phar
php yii migrate --migrationPath=@vendor/onmotion/yii2-gallery/migrations
'components' => [
//...
'view' => [
'theme' => [
'pathMap' => [
'@vendor/onmotion/yii2-gallery/views/default' => '@app/views/gallery', // example: @app/views/gallery/default/index.php
],
],
],
//...
],