PHPackages                             vlastimilvasek/livewire-advanced-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. [Image &amp; Media](/categories/media)
4. /
5. vlastimilvasek/livewire-advanced-media-library

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

vlastimilvasek/livewire-advanced-media-library
==============================================

A reusable Livewire image gallery manager for Spatie Media Library.

0.1.0(3w ago)02MITPHPPHP ^8.3

Since May 17Pushed 3w agoCompare

[ Source](https://github.com/vlastimilvasek/livewire-advanced-media-library)[ Packagist](https://packagist.org/packages/vlastimilvasek/livewire-advanced-media-library)[ RSS](/packages/vlastimilvasek-livewire-advanced-media-library/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

Livewire Advanced Media Library
===============================

[](#livewire-advanced-media-library)

A reusable Livewire image gallery manager for Laravel applications using Spatie Media Library.

The component is inspired by `ebess/advanced-nova-media-library`, but targets Blade and Livewire views outside Nova.

Current Scope
-------------

[](#current-scope)

- image tiles with previews
- multiple uploads
- captions stored in media custom properties
- delete existing images
- reorder existing images with drag and drop
- store uploaded files as optimized image files instead of keeping large raw uploads
- use Spatie Media Library conversions for previews and public display

Crop support is intentionally not part of the first version.

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

[](#installation)

```
composer require vlastimilvasek/livewire-advanced-media-library
```

Publish the config when needed:

```
php artisan vendor:publish --tag=livewire-advanced-media-library-config
```

Publish the Blade views when you want to customize the field markup and styling:

```
php artisan vendor:publish --tag=livewire-advanced-media-library-views
```

Publish translations when you need to customize labels:

```
php artisan vendor:publish --tag=livewire-advanced-media-library-translations
```

Or publish all customizable resources at once:

```
php artisan livewire-advanced-media-library:install
```

Use `--force` to overwrite previously published files:

```
php artisan livewire-advanced-media-library:install --force
```

Usage
-----

[](#usage)

The model must implement `Spatie\MediaLibrary\HasMedia`.

```

```

Uploaded files are converted to an optimized main media file before being added to the media collection. That optimized file becomes the Media Library "original", so the large raw browser upload is not retained.

Model Example
-------------

[](#model-example)

```
use Spatie\MediaLibrary\MediaCollections\Models\Media;

public function registerMediaConversions(?Media $media = null): void
{
    $this->addMediaConversion('preview')
        ->width(300)
        ->height(300)
        ->nonQueued();

    $this->addMediaConversion('basic')
        ->width(1600)
        ->height(1600)
        ->nonQueued();
}
```

Events
------

[](#events)

The component dispatches `advanced-media-library-saved` after saving. It also listens for `advanced-media-library-save`, so a parent Livewire component can hide the internal save button and save media from its own workflow.

Translations
------------

[](#translations)

The package ships with English (`en`) and Czech (`cs`) translations. Additional languages can be added by publishing translations and creating another locale directory, for example `lang/vendor/livewire-advanced-media-library/de/messages.php`.

Customizing Views
-----------------

[](#customizing-views)

Published views are copied to `resources/views/vendor/livewire-advanced-media-library`. Laravel will automatically use those files instead of the package defaults, so each project can adjust Tailwind classes, markup, icons, and layout without editing files in `vendor`.

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance95

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

23d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/42992543c5a483f363967839fbdb82a0924dbe0dd4b6f2a917227611379fa206?d=identicon)[vlastimilvasek](/maintainers/vlastimilvasek)

---

Top Contributors

[![vlastimilvasek](https://avatars.githubusercontent.com/u/23479745?v=4)](https://github.com/vlastimilvasek "vlastimilvasek (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vlastimilvasek-livewire-advanced-media-library/health.svg)

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

###  Alternatives

[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

719160.4k12](/packages/tallstackui-tallstackui)[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)[venturedrake/laravel-crm

A free open source CRM built as a package for laravel projects

39910.0k](/packages/venturedrake-laravel-crm)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.2k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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