NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #444 most downloaded on Packagist
Associate files with Eloquent models
Latest stable
11.23.13
Last release 2 days ago
13 Nov 2026
Ships on a steady schedule
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
525 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
Add Conditionable to Conversion by @tomwelch in https://github.com/spatie/laravel-medialibrary/pull/3162
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.7.12...10.7.13
Fixed custom path generators for Media with morphed map relations by @aprokopenko in https://github.com/spatie/laravel-medialibrary/pull/3191
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.7.11...10.7.12
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Replace migration id with alias by @eimantaaas in https://github.com/spatie/laravel-medialibrary/pull/3165
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.7.10...10.7.11
- improve output of command
Laravel 10.x Support by @erikn69 in https://github.com/spatie/laravel-medialibrary/pull/3157
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.7.8...10.7.9
Prevent implicit conversion from float to int in FileSizeOptimizedWidthCalculator by @QuentinGab in https://github.com/spatie/laravel-medialibrary/pul
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.7.7...10.7.8
Fix GitHub workflow status "test" badge by @stevebauman in https://github.com/spatie/laravel-medialibrary/pull/3144
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.7.6...10.7.7
Ability to use morphed map model with custom path generator by @petyots in https://github.com/spatie/laravel-medialibrary/pull/3143
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.7.5...10.7.6
Fix data corruption bug when storage disk becomes invalid by @Pilskalns in https://github.com/spatie/laravel-medialibrary/pull/3139
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.7.4...10.7.5
Format workflow files by @patinthehat in https://github.com/spatie/laravel-medialibrary/pull/3115
registerMediaConversionsUsingModelInstance property is set to true on the model by @tomcoonen in https://github.com/spatie/laravel-medialibrary/pull/3120Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.7.3...10.7.4
Issue delete command once per unique directory by @alisaleem27 in https://github.com/spatie/laravel-medialibrary/pull/3109
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.7.2...10.7.3
[Micro Optimization] Use slice instead of reverse->take by @Tofandel in https://github.com/spatie/laravel-medialibrary/pull/3098
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.7.1...10.7.2
fix #3090 syncMediaPath incorrectly comparing paths by @SlyDave in https://github.com/spatie/laravel-medialibrary/pull/3092
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.7.0...10.7.1
Added option to set custom queue connection by @rahulhaque in https://github.com/spatie/laravel-medialibrary/pull/3085
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.6.1...10.7.0
docs: fix some typos by @ArnaudLier in https://github.com/spatie/laravel-medialibrary/pull/3075
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.6.0...10.6.1
Hint to additional installation instructions by @driesvints in https://github.com/spatie/laravel-medialibrary/pull/3047
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.5.2...10.6.0
Fix for audio only "video" files by @rcerljenko in https://github.com/spatie/laravel-medialibrary/pull/3046
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.5.1...10.5.2
Allow the Github actions to run locally via act by @emielmolenaar in https://github.com/spatie/laravel-medialibrary/pull/3028
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.5.0...10.5.1
Use "request" where "response" is intended in docs by @euoia in https://github.com/spatie/laravel-medialibrary/pull/3027
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.4.5...10.5.0
Change the create method to use 'static' by @FabienLucini in https://github.com/spatie/laravel-medialibrary/pull/3021
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.4.4...10.4.5
Adding a short vite description by @schonhoff in https://github.com/spatie/laravel-medialibrary/pull/3001
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.4.3...10.4.4
Revert order media relationship
Upgrade example using JSON_EXTRACT by @erikn69 in https://github.com/spatie/laravel-medialibrary/pull/2970
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.4.1...10.4.2
Add @template annotation to FileAdder by @sforward in https://github.com/spatie/laravel-medialibrary/pull/2964
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.4.0...10.4.1
Update introduction.md by @trippo in https://github.com/spatie/laravel-medialibrary/pull/2951
Attachable objects by @freekmurze in https://github.com/spatie/laravel-medialibrary/pull/2963Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.3.6...10.4.0
add webp conversion support by @Jim-Webfox in https://github.com/spatie/laravel-medialibrary/pull/2928
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.3.5...10.3.6
Fix PhpStan test by @erikn69 in https://github.com/spatie/laravel-medialibrary/pull/2910
media-library:clean command when using custom path generators by @YellowFish085 in https://github.com/spatie/laravel-medialibrary/pull/2925Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.3.4...10.3.5
- use anonymous migration
Bump laravel version in docs by @karvaka in https://github.com/spatie/laravel-medialibrary/pull/2885
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.3.2...10.3.3
Change MediaRepository to scoped instance (Octane support) by @AlexVanderbist in https://github.com/spatie/laravel-medialibrary/pull/2876
MediaRepository to scoped instance (Octane support) by @AlexVanderbist in https://github.com/spatie/laravel-medialibrary/pull/2876Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.3.1...10.3.2
Fix Htmlable render media by @Balsakup in https://github.com/spatie/laravel-medialibrary/pull/2864
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/9.12.2...10.3.1
Documentation improvements by @freekmurze in https://github.com/spatie/laravel-medialibrary/pull/2844
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.2.0...10.3.0
Allow path generators to be customised per model by @freekmurze in https://github.com/spatie/laravel-medialibrary/pull/2845
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.1.5...10.2.0
Add methods to get first-available conversion url by @gdebrauwer in https://github.com/spatie/laravel-medialibrary/pull/2835
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.1.4...10.1.5
Fix High CPU Usage by @voyula in https://github.com/spatie/laravel-medialibrary/pull/2840
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.1.3...10.1.4
Update .gitattributes by @angeljqv in https://github.com/spatie/laravel-medialibrary/pull/2829
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.1.2...10.1.3
remove unused import by @HAstaShakiba in https://github.com/spatie/laravel-medialibrary/pull/2806
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.1.1...10.1.2
Change to forceDelete in move method of Media by @ziming in https://github.com/spatie/laravel-medialibrary/pull/2803
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.1.0...10.1.1
Update UPGRADING.md by @JesseKoper in https://github.com/spatie/laravel-medialibrary/pull/2787
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.0.7...10.1.0
fix: explicitly load media by @jaulz in https://github.com/spatie/laravel-medialibrary/pull/2784
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.0.6...10.0.7
- improve deps
- improve deps
- improve dependencies
Fix jsonSerialize return type by @orkhanahmadov in https://github.com/spatie/laravel-medialibrary/pull/2756
jsonSerialize return type by @orkhanahmadov in https://github.com/spatie/laravel-medialibrary/pull/2756Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.0.2...10.0.3
Move Larastan to dev deps
Move Larastan to dev deps
- fix return type
Tiny refactoring of file by @hichxm in https://github.com/spatie/laravel-medialibrary/pull/2707
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/9.11.1...10.0.0
fix #3090 - branch v9 PHP 7.4 version of the fix by @SlyDave in https://github.com/spatie/laravel-medialibrary/pull/3091
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/9.12.3...9.12.4
wip by @freekmurze in https://github.com/spatie/laravel-medialibrary/pull/2851
MediaRepository to scoped instance (Octane support) by @AlexVanderbist in https://github.com/spatie/laravel-medialibrary/pull/2877Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/9.12.0...9.12.3
Add explanation for processing responses by @SahinU88 in https://github.com/spatie/laravel-medialibrary/pull/2850
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/9.12.1...9.12.2
Small Typo by @Crowly34 in https://github.com/spatie/laravel-medialibrary/pull/2847
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/10.3.0...9.12.1
Update DefaultUrlGenerator.php by @matt127127 in https://github.com/spatie/laravel-medialibrary/pull/2837
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/9.11.4...9.11.5
Change to forceDelete in move method of Media by @ziming in https://github.com/spatie/laravel-medialibrary/pull/2804
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/9.11.3...9.11.4
Tiff support by @Synchro in https://github.com/spatie/laravel-medialibrary/pull/2799
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/9.11.2...9.11.3
Tiny refactoring of file by @hichxm in https://github.com/spatie/laravel-medialibrary/pull/2707
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/9.11.1...9.11.2
add index to order_column migration by @petsoukos in https://github.com/spatie/laravel-medialibrary/pull/2704
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/9.11.0...9.11.1
Add starting-from-id option to regenerate command by @billypoke in https://github.com/spatie/laravel-medialibrary/pull/2688
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/9.10.3...9.11.0
Update .gitattributes by @PaolaRuby in https://github.com/spatie/laravel-medialibrary/pull/2701
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/9.10.2...9.10.3
Reverts #2638 which proved to be buggy by @freekmurze in https://github.com/spatie/laravel-medialibrary/pull/2697
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/9.10.1...9.10.2
Update installation-setup.md by @Ondoz in https://github.com/spatie/laravel-medialibrary/pull/2693
Full Changelog: https://github.com/spatie/laravel-medialibrary/compare/9.10.0...9.10.1
One column per quarter.