wolfguard/yii2-gallery Yii2 module for image galleries with groups

modulegalleryimages

Image galleries

Yii2 module for image galleries with groups

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist wolfguard/yii2-gallery "*"

or add

"wolfguard/yii2-gallery": "*"

to the require section of your composer.json file.

After running

php composer.phar update

run

yii migrate --migrationPath=@vendor/wolfguard/yii2-gallery/migrations

After that change your main configuration file config/web.php

<?php return [
    ...
    'modules' => [
        ...
        'gallery' => [
            'class' => 'wolfguard\gallery\Module',
        ],
        ...
    ],
    ...
];

Usage

Once the extension is installed, you can access admin area with url gallery/admin/index.

To display gallery in frontend simply use this widget:

<?= \wolfguard\gallery\widgets\Gallery::widget(['code' => 'gallery-code']); ?>

or make your own widget!

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



v0.1.2 is the latest of 3 releases



BSD-3-Clause license
Stats
0 github stars & 0 github forks
0 downloads in the last day
0 downloads in the last 30 days
201 total downloads