PHPackages                             kukrik/qcubed-minigallery-manager - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. kukrik/qcubed-minigallery-manager

ActiveQcubed-library[Utility &amp; Helpers](/categories/utility)

kukrik/qcubed-minigallery-manager
=================================

QCubed-4 plugin for single MiniGalleryManager component

06JavaScript

Since Mar 9Pushed 2mo agoCompare

[ Source](https://github.com/kukrik/qcubed-minigallery-manager)[ Packagist](https://packagist.org/packages/kukrik/qcubed-minigallery-manager)[ RSS](/packages/kukrik-qcubed-minigallery-manager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

QCubed MiniGallery Plugin
=========================

[](#qcubed-minigallery-plugin)

MiniGallery for QCubed-4
------------------------

[](#minigallery-for-qcubed-4)

The **MiniGallery plugin** is a reusable QCubed-4 component designed to simplify the insertion of a small set of images (typically two to five), with one image selected as a **cover image**, into content managed via the CKEditor 4 HTML editor.

It provides a clean and structured way to embed, display, store, and remove images, while keeping all business logic fully under the developer’s control.

The plugin is intended for use in articles, news, pages, or any other content type that requires rich media support.

[![MiniGallery manager screenshot](screenshot/minigallery_manager_screenhots_1.png?raw=true)](screenshot/minigallery_manager_screenhots_1.png?raw=true)[![MiniGallery manager screenshot](screenshot/minigallery_manager_screenhots_2.png?raw=true)](screenshot/minigallery_manager_screenhots_2.png?raw=true)[![MiniGallery manager screenshot](screenshot/minigallery_manager_screenhots_3.png?raw=true)](screenshot/minigallery_manager_screenhots_3.png?raw=true)

---

Features
--------

[](#features)

- Image selection and embedding via an external mini gallery manager
- Clear separation between UI interactions and application logic
- Reusable and extensible architecture
- Custom QCubed event handling (e.g. delete actions)
- Compatible with **PHP 8.3+**

---

How It Works
------------

[](#how-it-works)

The MiniGallery plugin appears on the **right side of the CKEditor interface** and allows editors to:

- Select images
- Preview embedded images
- Add a description and author name to each image
- Remove or replace existing images

The plugin focuses solely on **UI interaction and data transport**.
All validation, permission checks, confirmation dialogs, and database operations are intentionally left to the developer.

---

Database Requirements
---------------------

[](#database-requirements)

The MiniGallery and FileManager plugins already provide all required database tables via their `database` directories.

To integrate the MiniGallery plugin with your own content types, your content table must include at least the following columns:

- `media_type_id`
- `content_cover_media_id`

In addition, the following tables are expected to exist (provided by the plugins):

- `content_cover_media`
- `mini_gallery`
- `mini_gallery_register`

How these fields and tables are validated, stored, or processed is entirely application-specific.

---

Usage Notes
-----------

[](#usage-notes)

It is the responsibility of the developer to implement:

- User permission checks
- Confirmation dialogs (if required)
- Business logic and database consistency
- Additional UI or workflow constraints

---

### Related Tools

[](#related-tools)

For a more advanced media workflow, you may also refer to:

- `mediafinder.php` (from the QCubed-4 FileManager plugin)

---

Requirements
------------

[](#requirements)

- **PHP 8.3 or newer**
- **QCubed-4**
- **QCubed FileManager plugin** (required)

---

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

[](#installation)

This plugin is installed via Composer:

```
composer require kukrik/qcubed-minigallery-manager
```

### Required dependency

[](#required-dependency)

The MiniGallery plugin depends on the QCubed-4 FileManager plugin, which must be installed or updated in your project:

```
composer require kukrik/qcubed-filemanager
```

### Optional but recommended dependencies

[](#optional-but-recommended-dependencies)

```
composer require qcubed-4/plugin-bootstrap
composer require kukrik/qcubed-videomanager
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance58

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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/6fa54a368b30d867f78261c26bffe0198ff3bd0e13d14b82dcd0b6586bcd53b6?d=identicon)[kukrik](/maintainers/kukrik)

---

Top Contributors

[![kukrik](https://avatars.githubusercontent.com/u/2853034?v=4)](https://github.com/kukrik "kukrik (7 commits)")

### Embed Badge

![Health badge](/badges/kukrik-qcubed-minigallery-manager/health.svg)

```
[![Health](https://phpackages.com/badges/kukrik-qcubed-minigallery-manager/health.svg)](https://phpackages.com/packages/kukrik-qcubed-minigallery-manager)
```

###  Alternatives

[gehrisandro/tailwind-merge-php

TailwindMerge for PHP merges multiple Tailwind CSS classes by automatically resolving conflicts between them

1391.5M9](/packages/gehrisandro-tailwind-merge-php)[leancloud/leancloud-sdk

LeanCloud PHP SDK

5232.0k6](/packages/leancloud-leancloud-sdk)

PHPackages © 2026

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