PHPackages                             antoinecorbin/filament-advanced-spatie-media-library - 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. antoinecorbin/filament-advanced-spatie-media-library

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

antoinecorbin/filament-advanced-spatie-media-library
====================================================

Allows you to manage media translations with Spatie Translatable and Filament repeater support.

1.0.2(7mo ago)01.0k1MITPHPPHP ^8.1

Since Feb 7Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/antoinecorbin/filament-advanced-spatie-media-library)[ Packagist](https://packagist.org/packages/antoinecorbin/filament-advanced-spatie-media-library)[ RSS](/packages/antoinecorbin-filament-advanced-spatie-media-library/feed)WikiDiscussions main Synced 1mo ago

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

Filament Advanced Spatie Media Library
======================================

[](#filament-advanced-spatie-media-library)

This package extends the functionality of the Filament Spatie Media Library plugin by adding support for translations with Spatie Translatable and compatibility with Filament repeaters.

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

[](#installation)

You can install the package via composer:

```
composer require antoinecorbin/filament-advanced-spatie-media-library
```

Configuration
-------------

[](#configuration)

The package works automatically without additional configuration. It uses the existing Spatie Media Library configuration.

Usage
-----

[](#usage)

### Basic Usage

[](#basic-usage)

```
use AntoineCorbin\Form\Components\AdvancedMediaLibraryFileUpload;

AdvancedMediaLibraryFileUpload::make('media')
```

### With Translations

[](#with-translations)

To use translations, your model must use Spatie's `HasTranslations` trait:

```
use Spatie\Translatable\HasTranslations;

class Post extends Model
{
    use HasTranslations;

    public array $translatable = ['media'];
}
```

### In a Repeater

[](#in-a-repeater)

The component works automatically within a Filament repeater:

```
Repeater::make('sections')
    ->schema([
        AdvancedMediaLibraryFileUpload::make('images')
    ])
```

Features
--------

[](#features)

- Full translation support with Spatie Translatable
- Smart media management in repeaters
- Automatic abandoned file cleanup
- Repeater index updates
- Multiple collection support
- Image manipulation compatibility
- Responsive images support

### Advanced Usage

[](#advanced-usage)

The component automatically handles:

- File uploads and organization within repeater fields
- Translation management for multilingual media
- Media collection management
- Custom properties preservation
- Automatic cleanup of unused media

### Available Methods

[](#available-methods)

```
AdvancedMediaLibraryFileUpload::make('media')
    ->collection('images') // Set a specific media collection
    ->multiple() // Allow multiple file uploads
    ->responsiveImages() // Enable responsive images
    ->customProperties([]) // Add custom properties to media
    ->withManipulations([]) // Add image manipulations
```

License
-------

[](#license)

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

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance62

Regular maintenance activity

Popularity20

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~113 days

Total

3

Last Release

232d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/43861d292899c15c36febc43fe0060cdc1aa15b885b77700f2bb25f5a16ac8d9?d=identicon)[AntoineCorbin](/maintainers/AntoineCorbin)

---

Top Contributors

[![antoinecorbin7](https://avatars.githubusercontent.com/u/167988075?v=4)](https://github.com/antoinecorbin7 "antoinecorbin7 (4 commits)")[![antoinecorbin](https://avatars.githubusercontent.com/u/43377629?v=4)](https://github.com/antoinecorbin "antoinecorbin (1 commits)")[![LucasLavallee](https://avatars.githubusercontent.com/u/36328155?v=4)](https://github.com/LucasLavallee "LucasLavallee (1 commits)")

### Embed Badge

![Health badge](/badges/antoinecorbin-filament-advanced-spatie-media-library/health.svg)

```
[![Health](https://phpackages.com/badges/antoinecorbin-filament-advanced-spatie-media-library/health.svg)](https://phpackages.com/packages/antoinecorbin-filament-advanced-spatie-media-library)
```

###  Alternatives

[aws/aws-sdk-php-laravel

A simple Laravel 9/10/11/12/13 service provider for including the AWS SDK for PHP.

1.7k35.6M75](/packages/aws-aws-sdk-php-laravel)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[stechstudio/laravel-zipstream

A fast and simple streaming zip file downloader for Laravel.

4633.7M3](/packages/stechstudio-laravel-zipstream)[spatie/laravel-google-cloud-storage

Google Cloud Storage filesystem driver for Laravel

2408.9M13](/packages/spatie-laravel-google-cloud-storage)[spatie/laravel-backup-server

Backup multiple applications

17016.7k1](/packages/spatie-laravel-backup-server)[innoge/laravel-rclone

A sleek PHP wrapper around rclone with Laravel-style fluent API syntax

174.1k](/packages/innoge-laravel-rclone)

PHPackages © 2026

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