PHPackages                             sadovojav/yii2-gallery-module - 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. [Admin Panels](/categories/admin)
4. /
5. sadovojav/yii2-gallery-module

ActiveYii2-extension[Admin Panels](/categories/admin)

sadovojav/yii2-gallery-module
=============================

Yii2 gallery module

126407[3 issues](https://github.com/sadovojav/yii2-gallery-module/issues)JavaScript

Since Jul 20Pushed 9y ago3 watchersCompare

[ Source](https://github.com/sadovojav/yii2-gallery-module)[ Packagist](https://packagist.org/packages/sadovojav/yii2-gallery-module)[ RSS](/packages/sadovojav-yii2-gallery-module/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 gallery
============

[](#yii2-gallery)

#### Features:

[](#features)

- Upload image
- Drag image and change position
- Make gallery template
- Use inline widget

[![gallery](https://cloud.githubusercontent.com/assets/9282021/10119704/7a006796-64a5-11e5-8b3c-51046cb05f7b.jpg)](https://cloud.githubusercontent.com/assets/9282021/10119704/7a006796-64a5-11e5-8b3c-51046cb05f7b.jpg)

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

[](#installation)

### Composer

[](#composer)

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

Either run `php composer.phar require sadovojav/yii2-gallery-module "dev-master"`

or add `"sadovojav/yii2-gallery-module": "dev-master"` to the require section of your `composer.json`

### Migration

[](#migration)

yii migrate --migrationPath=@vendor/sadovojav/yii2-gallery-module/migrations

Config
------

[](#config)

1. Attach the module in your config file:

```
'modules' => [
    'gallery' => [
        'class' => 'sadovojav\gallery\Module',
    ],
],
```

- string `basePath` = `@webroot/galleries` - Base path
- integer `queryCacheDuration` = `86400` - Query cache duration
- bool `uniqueName` = `false` - Generate unique name

2. If you want use custom template, you can set path map

```
'view' => [
	'theme' => [
		'pathMap' => [
			'@sadovojav/gallery/widgets/views' => '@app/web/views/gallery'
		],
		'baseUrl'   => '@web/web'
	],
],
```

Administration
--------------

[](#administration)

Galleries manager - **/gallery/gallery/index**

Using
-----

[](#using)

#### 1. Widget

[](#1-widget)

```

```

- integer `galleryId` required - Gallery Id
- bool `caption` = `false` - Show caption in default template
- string `template` = `null` - Your custom widget template

#### 2. Inline Widget

[](#2-inline-widget)

See here -&gt;

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0c17a869a6d802f11218035a8936a1feb52479d8695584a3a8531442d5ec81bf?d=identicon)[sadovojav](/maintainers/sadovojav)

---

Top Contributors

[![dmytroraschepkin](https://avatars.githubusercontent.com/u/7814293?v=4)](https://github.com/dmytroraschepkin "dmytroraschepkin (1 commits)")

### Embed Badge

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

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

###  Alternatives

[jeroennoten/laravel-adminlte

Easy AdminLTE integration with Laravel

4.0k4.8M43](/packages/jeroennoten-laravel-adminlte)[dmstr/yii2-adminlte-asset

AdminLTE backend theme asset bundle for Yii 2.0 Framework

1.1k1.8M67](/packages/dmstr-yii2-adminlte-asset)[dwij/laraadmin

LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin Backend, Data Management Tool or CRM boilerplate for Laravel with features like CRUD Generation, Module Manager, Media, Menus, Backups and much more

1.6k68.7k](/packages/dwij-laraadmin)[filament/spatie-laravel-media-library-plugin

Filament support for `spatie/laravel-medialibrary`.

1764.8M125](/packages/filament-spatie-laravel-media-library-plugin)[bezhansalleh/filament-exceptions

A Simple &amp; Beautiful Pluggable Exception Viewer for FilamentPHP's Admin Panel

193195.9k13](/packages/bezhansalleh-filament-exceptions)[filament/infolists

Easily add beautiful read-only infolists to any Livewire component.

1220.8M36](/packages/filament-infolists)

PHPackages © 2026

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