PHPackages                             mixdinternet/galleries - 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. mixdinternet/galleries

ActiveLibrary[Image &amp; Media](/categories/media)

mixdinternet/galleries
======================

A simple gallery package

0.2.3(9y ago)11.1k11MITCSS

Since Feb 24Pushed 8y ago3 watchersCompare

[ Source](https://github.com/mixdinternet/galleries)[ Packagist](https://packagist.org/packages/mixdinternet/galleries)[ RSS](/packages/mixdinternet-galleries/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)Dependencies (1)Versions (19)Used By (1)

Galleries
=========

[](#galleries)

A simple package of galleries to attach on a model

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

[](#installation)

Add to composer.json

```
  "require": {
    "mixdinternet/galleries": "0.2.*"
  }
```

ou

```
  composer require mixdinternet/galleries
```

Service Provider
----------------

[](#service-provider)

Open `config/app.php` then add

`Mixdinternet\Galleries\Providers\GalleriesServiceProvider::class`

Facades
-------

[](#facades)

Open `config/app.php` then add

`'Gallery'   => Mixdinternet\Galleries\Facades\Gallery::class`

Publishing the files
--------------------

[](#publishing-the-files)

```
$ php artisan vendor:publish --provider="Mixdinternet\Galleries\Providers\GalleriesServiceProvider" --tag="assets"
$ php artisan vendor:publish --provider="Mixdinternet\Galleries\Providers\GalleriesServiceProvider" --tag="config"

```

Running migrations
------------------

[](#running-migrations)

```
$ composer dump-autoload
$ php artisan migrate

```

Merge css/javascript into your gulpfile.js
------------------------------------------

[](#merge-cssjavascript-into-your-gulpfilejs)

```
...
.styles([
...
	'resources/assets/css/dropzonejs.css',
...
	],
	'public/assets/css/admin.css',
	'./')
...
.scripts([
...
	'resources/assets/js/dropzone.min.js',
	'resources/assets/js/jquery-ui.sortable.min.js',
...
    'resources/assets/js/galleries-start.js'
...
	],
    'public/assets/js/admin.js',
    './')
...

```

Attaching the gallery to your model
-----------------------------------

[](#attaching-the-gallery-to-your-model)

```
use Mixdinternet\Galleries\GalleriableInterface;
use Mixdinternet\Galleries\GalleriableTrait;

class Post extends Model implements GalleriableInterface
{
    use GalleriableTrait;

```

Load the grid in your panel
---------------------------

[](#load-the-grid-in-your-panel)

```
{!! Gallery::form($post, [customGalleryName]) !!}

```

Lists all images from a model
-----------------------------

[](#lists-all-images-from-a-model)

```
Post::first()->galleries([customGalleryName])->images();

```

If you want to return the default gallery images
------------------------------------------------

[](#if-you-want-to-return-the-default-gallery-images)

```
Post::first()->gallery->images();

```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 90.5% 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 ~44 days

Recently: every ~83 days

Total

18

Last Release

3019d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7e4d60ba30f409161026fd37c5a106cc32c4e4d29411f805553623cca632dd72?d=identicon)[agenciafmd](/maintainers/agenciafmd)

---

Top Contributors

[![irineujunior](https://avatars.githubusercontent.com/u/260451?v=4)](https://github.com/irineujunior "irineujunior (19 commits)")[![cstamagawa](https://avatars.githubusercontent.com/u/13224452?v=4)](https://github.com/cstamagawa "cstamagawa (2 commits)")

---

Tags

laravelimagesgallery

### Embed Badge

![Health badge](/badges/mixdinternet-galleries/health.svg)

```
[![Health](https://phpackages.com/badges/mixdinternet-galleries/health.svg)](https://phpackages.com/packages/mixdinternet-galleries)
```

###  Alternatives

[classic-o/nova-media-library

Tool and field that will let you managing files and add them to the posts

154177.4k](/packages/classic-o-nova-media-library)[silvanite/nova-field-cloudinary

A Laravel Nova Image Field with Flysystem Adapter for storing and retrieving media from Cloudinary

2772.3k3](/packages/silvanite-nova-field-cloudinary)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21313.7k3](/packages/ecotone-laravel)

PHPackages © 2026

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