PHPackages                             onmotion/yii2-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. onmotion/yii2-gallery

ActiveYii2-extension[Image &amp; Media](/categories/media)

onmotion/yii2-gallery
=====================

blueimp gallery with fileupload in your Yii2 application

1.2.2(6y ago)133.1k↓76.9%11[2 issues](https://github.com/onmotion/yii2-gallery/issues)[1 PRs](https://github.com/onmotion/yii2-gallery/pulls)GPL-3.0PHP

Since Apr 7Pushed 4y ago3 watchersCompare

[ Source](https://github.com/onmotion/yii2-gallery)[ Packagist](https://packagist.org/packages/onmotion/yii2-gallery)[ RSS](/packages/onmotion-yii2-gallery/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (14)Used By (0)

Yii2 Gallery module
===================

[](#yii2-gallery-module)

blueimp gallery in your Yii2 application with fileupload

[![Latest Stable Version](https://camo.githubusercontent.com/d890123dbd833063baa45b0422ed706ce2e91834fe6f8527b35a6737aa2bb181/68747470733a2f2f706f7365722e707567782e6f72672f6f6e6d6f74696f6e2f796969322d67616c6c6572792f762f737461626c65)](https://packagist.org/packages/onmotion/yii2-gallery)[![Total Downloads](https://camo.githubusercontent.com/c27911f2f21f6a981e1a205db1230f74c7b42817887a5e9a0a79882b858d6fa5/68747470733a2f2f706f7365722e707567782e6f72672f6f6e6d6f74696f6e2f796969322d67616c6c6572792f646f776e6c6f616473)](https://packagist.org/packages/onmotion/yii2-gallery)[![Monthly Downloads](https://camo.githubusercontent.com/373e222ccd13c201ee7e859edfc2ed9f98a7644a947989b9e3d6c9104d3cd20a/68747470733a2f2f706f7365722e707567782e6f72672f6f6e6d6f74696f6e2f796969322d67616c6c6572792f642f6d6f6e74686c79)](https://packagist.org/packages/onmotion/yii2-gallery)[![License](https://camo.githubusercontent.com/a7a24a97224ad0c6692218cfaa95614284002c97d8bb7cf2d36481192dcc9e28/68747470733a2f2f706f7365722e707567782e6f72672f6f6e6d6f74696f6e2f796969322d67616c6c6572792f6c6963656e7365)](https://packagist.org/packages/onmotion/yii2-gallery)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

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

```

or add

```
"onmotion/yii2-gallery": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

1. You must add to your config:

```
'modules' => [
		//...
        'gallery' => [
            'class' => 'onmotion\gallery\Module',
        ],
        //...
    ]

```

1. Apply migration, run:

```
php yii migrate --migrationPath=@vendor/onmotion/yii2-gallery/migrations

```

1. Go to your application in your browser

```
http://your-host/gallery

```

If you want change the view, you can add to your config:

```
 'components' => [
        //...
        'view' => [
            'theme' => [
                'pathMap' => [
                    '@vendor/onmotion/yii2-gallery/views/default' => '@app/views/gallery', // example: @app/views/gallery/default/index.php
                ],
            ],
        ],
        //...
    ],

```

then you need to copy directory 'default' from @vendor/onmotion/yii2-gallery/views to @app/views/gallery and change it as you want.

[![](https://raw.githubusercontent.com/onmotion/yii2-gallery/master/samples/sample1.png)](https://raw.githubusercontent.com/onmotion/yii2-gallery/master/samples/sample1.png)

[![](https://raw.githubusercontent.com/onmotion/yii2-gallery/master/samples/sample2.png)](https://raw.githubusercontent.com/onmotion/yii2-gallery/master/samples/sample2.png)

More samples how it works you can see at [blueimp gallery page](https://github.com/blueimp/Gallery/blob/master/README.md)

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 80% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~106 days

Recently: every ~247 days

Total

13

Last Release

2468d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2e5407caa213f6975f2d554a7a9d62a443c96b3c7b854fb71622479017ee227b?d=identicon)[onmotion](/maintainers/onmotion)

---

Top Contributors

[![onmotion](https://avatars.githubusercontent.com/u/12899080?v=4)](https://github.com/onmotion "onmotion (8 commits)")[![nicdnepr](https://avatars.githubusercontent.com/u/2581487?v=4)](https://github.com/nicdnepr "nicdnepr (1 commits)")[![sabi1981](https://avatars.githubusercontent.com/u/7114290?v=4)](https://github.com/sabi1981 "sabi1981 (1 commits)")

---

Tags

blueimp-gallerygalleryyii2-extensionyii2-galleryyii2-modulesyii2modulephotogalleryblueimp

### Embed Badge

![Health badge](/badges/onmotion-yii2-gallery/health.svg)

```
[![Health](https://phpackages.com/badges/onmotion-yii2-gallery/health.svg)](https://phpackages.com/packages/onmotion-yii2-gallery)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
