# Laravel Media Library

> Associate uploaded files with Eloquent models, with thumbnails and responsive images

Source: https://talira.ai/catalog/laravel-media-library-v7jd8nra
Every listing: https://talira.ai/catalog.md

- Kind: Open core
- Types: Library
- Categories: [libraries / file uploads](https://talira.ai/categories/libraries/file-uploads), [languages / php](https://talira.ai/categories/languages/php)
- Licence: MIT[^2][^4]
- Pricing: Free tier[^1][^3]
- Pricing notes: The package is free (MIT). Media Library Pro, its UI components, is a one-time purchase per licence with a year of updates and access to the private repository: on 28 Nov 2026 a Black Friday sale (20% off) showed $94 for one application and $359 for unlimited applications; the regular prices weren't shown. Prices exclude VAT, which Paddle adds at checkout.
- Free tier: yes[^1][^3]
- Backed by: [Spatie](https://talira.ai/orgs/spatie.md)

Laravel Media Library is Spatie's package for attaching files to Eloquent models in [Laravel](https://talira.ai/catalog/laravel-4d4w140j.md): add a file from a path or straight from an upload to a named media collection, store it on any filesystem Laravel supports (local disk, S3 and others), and get its URL back from the model. It generates derived images such as thumbnails for images, videos and PDFs, and responsive images. The package is free and open source; Media Library Pro, sold separately by Spatie, adds Blade, Vue, React and Livewire components for uploading and managing a collection.

## Links

- Website: https://spatie.be/docs/laravel-medialibrary
- GitHub: https://github.com/spatie/laravel-medialibrary
- Docs: https://spatie.be/docs/laravel-medialibrary

## Problems it solves

- let users upload photos to a record in my Laravel app and keep track of them
- generate thumbnails for images and PDFs uploaded in Laravel
- store some uploads on S3 and others locally in a Laravel app without writing the plumbing

## Features

- attach files and uploads to Eloquent models in named collections
- store media on any Laravel filesystem, such as S3
- thumbnails for images, videos and PDFs, and responsive images
- paid Pro UI components for uploads (Blade, Vue, React, Livewire)

## Ways to run it

### Laravel Media Library

You install it, MIT. Price: free.[^1][^2]

Only in this edition:

- media collections on Eloquent models
- thumbnails and responsive images
- any Laravel filesystem

Not included:

- upload and management UI components

Where to get it: https://github.com/spatie/laravel-medialibrary

### Media Library Pro

You install it, under a commercial licence. Price: one-time licence with a year of updates; on sale on 28 Nov 2026 at $94 for one application, $359 for unlimited applications.[^3]

Only in this edition:

- React, Vue and Livewire v3 upload components
- temporary uploads
- Laravel Vapor support
- Tailwind CSS styles

Where to get it: https://spatie.be/products/media-library-pro

## Trust

Overall: 0.62 out of 1.
Signals: maintenance 0.78, adoption 0.76, momentum 0.50, community 1.00, backing 0.30, extensibility 0.00.

- last commit 6 days ago
- 27 commits in the last 90 days
- latest release 11.23.14 6 days ago
- 6.2k GitHub stars
- 419 contributors
- accepts sponsorship (Github, Custom)
- backed by Spatie

## Related

- Works with [Laravel](https://talira.ai/catalog/laravel-4d4w140j.md)

## Sources

[^1]: https://spatie.be/docs/laravel-medialibrary/v11/introduction (checked 28 Nov 2026)
[^2]: https://github.com/spatie/laravel-medialibrary/blob/main/LICENSE.md (checked 28 Nov 2026)
[^3]: https://spatie.be/products/media-library-pro (checked 28 Nov 2026)
[^4]: https://github.com/spatie/laravel-medialibrary/blob/main/composer.json (checked 28 Nov 2026)
