PHPackages                             igamov/filament-media-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. [File &amp; Storage](/categories/file-storage)
4. /
5. igamov/filament-media-gallery

ActiveLibrary[File &amp; Storage](/categories/file-storage)

igamov/filament-media-gallery
=============================

This package add support spatie media library to filament V3.x

v1.0.0(2y ago)273[1 PRs](https://github.com/igamov/filament-media-gallery/pulls)MITPHPPHP ^8.1

Since Jun 28Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/igamov/filament-media-gallery)[ Packagist](https://packagist.org/packages/igamov/filament-media-gallery)[ Docs](https://github.com/igamov/filament-media-gallery)[ GitHub Sponsors](https://github.com/igamov)[ RSS](/packages/igamov-filament-media-gallery/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (1)Dependencies (12)Versions (4)Used By (0)

Media Gallery for Filament Spatie Media Library
===============================================

[](#media-gallery-for-filament-spatie-media-library)

[![Latest Version on Packagist](https://camo.githubusercontent.com/11d046a16111507254672b77b4a1d30797f0e791b76c0ec526df5258bc4533cb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6967616d6f762f66696c616d656e742d6d656469612d67616c6c6572792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/igamov/filament-media-gallery)[![GitHub Tests Action Status](https://camo.githubusercontent.com/7418706964ccdfbbd75ad894be771a6e65b3dd10cc85c134e47bc61dfcc5c343/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6967616d6f762f66696c616d656e742d6d656469612d67616c6c6572792f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/igamov/filament-media-gallery/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/d8236d3d8a6453c74b8416e75e29371a4fff672ebf9844be36751bc832c0f1e6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6967616d6f762f66696c616d656e742d6d656469612d67616c6c6572792f6669782d7068702d636f64652d7374796c696e672e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/igamov/filament-media-gallery/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/2412e9c1acd47ba7c4cadac90d2211b48a0379adaa281ac1a6b3b897ffb25c38/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6967616d6f762f66696c616d656e742d6d656469612d67616c6c6572792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/igamov/filament-media-gallery)

This package add support spatie media library to filament V3.x

I've taken inspiration from the following plugins: [Json Media](https://github.com/webplusmultimedia/filament-json-media) &amp; [Filament Spatie Media Library](https://github.com/filamentphp/spatie-laravel-media-library-plugin).

[![filament-media-gallery.png](https://camo.githubusercontent.com/d53bd2e61501d1d4b659698a406e3a4ed7d37f75eecf62f346a6e11260b83b18/68747470733a2f2f692e706f7374696d672e63632f54773532573978642f66696c616d656e742d6d656469612d67616c6c6572792e706e67)](https://postimg.cc/KkFh6t4w)

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

[](#installation)

You can install the package via composer:

```
composer require igamov/filament-media-gallery
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="filament-media-gallery-views"
```

Usage
-----

[](#usage)

### In Filament Forms

[](#in-filament-forms)

```
use Igamov\FilamentMediaGallery\Form\MediaGallery;

MediaGallery::make('gallery')
      ->collection('gallery')
      ->thumb('tiny_conversion')
      ->disk('disk')
      ->columnSpanFull()
      ->reorderable(true)
      ->downloadable()
      ->maxSize(1536)
      ->multiple()
```

### In Filament Tables

[](#in-filament-tables)

To use the media gallery image column:

```
use Igamov\FilamentMediaGallery\Tables\Columns\MediaGalleryImageColumn;

MediaGalleryImageColumn::make('avatar')
```

The media gallery image column supports all the customization options of the [original image column](https://filamentphp.com/docs/tables/columns/image).

### Passing a collection

[](#passing-a-collection)

Optionally, you may pass a `collection()`:

```
use Igamov\FilamentMediaGallery\Tables\Columns\MediaGalleryImageColumn;

MediaGalleryImageColumn::make('avatar')
    ->collection('avatars')
```

The [collection](https://spatie.be/docs/laravel-medialibrary/working-with-media-collections/simple-media-collections) allows you to group files into categories.

By default, only media without a collection (using the `default` collection) will be shown. If you want to show media from all collections, you can use the `allCollections()` method:

```
use Igamov\FilamentMediaGallery\Tables\Columns\MediaGalleryImageColumn;

MediaGalleryImageColumn::make('avatar')
    ->allCollections()
```

### Using conversions

[](#using-conversions)

You may also specify a `conversion()` to load the file from showing it in the table, if present:

```
use Igamov\FilamentMediaGallery\Tables\Columns\MediaGalleryImageColumn;

MediaGalleryImageColumn::make('avatar')
    ->conversion('thumb')
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [igamov](https://github.com/igamov)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance59

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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.

###  Release Activity

Cadence

Every ~683 days

Total

2

Last Release

53d ago

Major Versions

v1.0.0 → 5.x-dev2026-05-12

PHP version history (2 changes)v1.0.0PHP ^8.1

5.x-devPHP ^8.2|^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14826253?v=4)[igamov](/maintainers/igamov)[@igamov](https://github.com/igamov)

---

Top Contributors

[![igamov](https://avatars.githubusercontent.com/u/14826253?v=4)](https://github.com/igamov "igamov (11 commits)")

---

Tags

laravelfilament-media-galleryigamov

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/igamov-filament-media-gallery/health.svg)

```
[![Health](https://phpackages.com/badges/igamov-filament-media-gallery/health.svg)](https://phpackages.com/packages/igamov-filament-media-gallery)
```

###  Alternatives

[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[backstage/mails

View logged mails and events in a beautiful Filament UI.

16120.1k](/packages/backstage-mails)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3991.8k](/packages/codewithdennis-larament)[slimani/filament-media-manager

A media manager plugin for Filament.

126.9k](/packages/slimani-filament-media-manager)[mmes-design/filament-file-manager

A beautiful file manager plugin for Filament. Browse, upload, rename, move and delete files with ease.

163.1k](/packages/mmes-design-filament-file-manager)

PHPackages © 2026

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