PHPackages                             msoa/luya-module-gallery - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. msoa/luya-module-gallery

ActiveLuya-module[Image &amp; Media](/categories/media)

msoa/luya-module-gallery
========================

The gallery module allows you create folders and collection and upload images to the collections. Its an easy way to create a gallery very quick and create your own view files.

1.0.0(8y ago)011MITPHP

Since Apr 7Pushed 7y ago1 watchersCompare

[ Source](https://github.com/msoa/luya-module-gallery)[ Packagist](https://packagist.org/packages/msoa/luya-module-gallery)[ Docs](http://luya.io)[ RSS](/packages/msoa-luya-module-gallery/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (9)Used By (0)

 [![LUYA Logo](https://raw.githubusercontent.com/luyadev/luya/master/docs/logo/luya-logo-0.2x.png)](https://raw.githubusercontent.com/luyadev/luya/master/docs/logo/luya-logo-0.2x.png)

Gallery Module
==============

[](#gallery-module)

[![LUYA](https://camo.githubusercontent.com/c30b61934591d3a6fcb8718a93fd61bf840c0abd8a8d49aa0fdd4ab99567bdf4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f776572656425323062792d4c5559412d627269676874677265656e2e737667)](https://luya.io)[![Latest Stable Version](https://camo.githubusercontent.com/01f8df115e17201b873025f89f1631fe73a4a312fa2ebe2e72c3277fb66562bd/68747470733a2f2f706f7365722e707567782e6f72672f6c7579616465762f6c7579612d6d6f64756c652d67616c6c6572792f762f737461626c65)](https://packagist.org/packages/luyadev/luya-module-gallery)[![Total Downloads](https://camo.githubusercontent.com/688b91639d1f8cb52e0c7b14e9cbbb8e4946175ceec02baafd547008dfff7e6d/68747470733a2f2f706f7365722e707567782e6f72672f6c7579616465762f6c7579612d6d6f64756c652d67616c6c6572792f646f776e6c6f616473)](https://packagist.org/packages/luyadev/luya-module-gallery)[![Slack Support](https://camo.githubusercontent.com/3574a291a5d77f541be2a9aebff47cf60ed44274b70f9d90bdf6d0d7f4911892/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f536c61636b2d6c7579616465762d79656c6c6f77677265656e2e737667)](https://slack.luya.io/)

The gallery module allows you create folders and collection and upload images to the collections. Its an easy way to create a gallery very quick and create your own view files.

Installation
------------

[](#installation)

For the installation of modules Composer is required.

```
composer require luyadev/luya-module-gallery:~1.0.0
```

### Configuration

[](#configuration)

After installation via Composer include the module to your configuration file within the modules section.

```
'modules' => [
    // ...
    'gallery' => 'luya\gallery\frontend\Module',
    'galleryadmin' => 'luya\gallery\admin\Module',
]
```

### Initialization

[](#initialization)

After successfully installation and configuration run the migrate, import and setup command to initialize the module in your project.

1.) Migrate your database.

```
./vendor/bin/luya migrate
```

2.) Import the module and migrations into your LUYA project.

```
./vendor/bin/luya import
```

View files
----------

[](#view-files)

As the modules are not shipped with default view files you can use the following examples:

#### cat/index.php

[](#catindexphp)

```
