NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #428 most downloaded on Packagist
Associate files with Eloquent models
Last release today
05 Oct 2026
Ships fairly regularly
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
11 years old
521 releases · first in 2015
fixed bug where an exception would be raised when using S3
fix bug where urls to media would not be encoded anymore
- introduced ImageGenerators
ImageGeneratorsOne column per quarter.
- encode urls to media
fix svg and pdf file path when performing conversions
- made compatible with L5.3
fixed some files that had a wrong namespace
added thumbnail generation for video's
fixed the src format option when dealing with jpegs
src format option when dealing with jpegsadded mime attribute on the Media model
mime attribute on the Media modeladded removeCustomProperty function
removeCustomProperty functionadded media-library:clean command
media-library:clean commandmedia-library:regenerate will continue regenerating files even if a primary media file is missingFix regeneration command (see #260). It'll now properly regenerate files for all passed media id's
Add support for converting svg's
- Add Lumen compatibility
Delete the conversion directory even when it is not underneath the media directory
Fixed queued jobs in Laravel 5.1
added addMediaFromRequest method
addMediaFromRequest methodNothing published for this version
Only detect mimetype from file on local disks
Fixed an issue that occurred when deleting models with media in some php versions
Fixed mistakes in the version constraints on the illuminate components
Improved the file type detection for files without an extension
- Added support for morphMap
morphMapImproved the compatibility with packages that hook into the delete method of an Eloquent model
delete method of an Eloquent modelThe regenerate-command now accepts an ids-option
regenerate-command now accepts an ids-optionAdded media-library:clear command
media-library:clear commandMake migrations compatible with mysql's strict mode
Added a deletePreservingMedia-function that will delete the model but not remove the associated files
deletePreservingMedia-function that will delete the model but not remove the associated filesUse config_path helper in ServiceProvider to allow easier integration in Lumen
config_path helper in ServiceProvider to allow easier integration in Lumen- Recognize gifs as images
Removed support for laravel-glide v3
InvalidNewOrder-exception*Important node: there is a bug in this version that prevents the creation of derived files*
Important node: there is a bug in this version that prevents the creation of derived files
Add configurable headers when uploading media to a remote disk
use database_path when publishing migrations
Fixed the processing a file name with special characters
- Remove adding .gitignore files
Accept Symfony\Component\HttpFoundation\File\File-object when adding files
Fixed mime-type errors when using the local filesystem
Fixed the event names to make them more readable CollectionHasBeenCleared, ConversionHasBeenCompleted, MediaHasBeenAdded
CollectionHasBeenCleared, ConversionHasBeenCompleted, MediaHasBeenAddedAdded CollectionClearedEvent, ConversionCompleteEvent, MediaAddedEvent
CollectionClearedEvent, ConversionCompleteEvent, MediaAddedEventFixed an issue where a model would not regenerate manipulations after changing manipulations on media
Fix bug when using a custom UrlGenerator class
This version contains a bug when using a custom UrlGenerator, please upgrade to 3.9.1
This version contains a bug when using a custom UrlGenerator, please upgrade to 3.9.1
Added ability to add media from a url
$media = $this->testModel->addMediaFromUrl($url)
clearMediaCollection is now chainable
clearMediaCollection is now chainableAdd mimetype when putting a file on a disk.
Fix generation of local url's on non-unix hosts
Added setCustomProperty-method on Media
setCustomProperty-method on MediaAdded withProperties and withAttributes methods
withProperties and withAttributes methodsBugfix: HasMediaTrait::updateMedia now also updates custom properties. It also updates the order column starting at 1 instead of 0 (behaves the same a
HasMediaTrait::updateMedia now also updates custom properties. It also updates the order column starting at 1 instead of 0 (behaves the same as the sortable trait)Added the ability to provide a default value fallback to the getCustomProperty method
getCustomProperty methodAdded support for using a custom model
Fixed a bug where conversions would always be performed on the default queue
Added hasCustomProperty- and getCustomProperty-convenience-methods
hasCustomProperty- and getCustomProperty-convenience-methodsAllow 0 for x and y parameters in setRectangle
x and y parameters in setRectangleRemoved dependency on spatie/eloquent-sortable
Add index to morphable fields in migration which could improve performance.
- Fixes tests
Add index to morphable fields in migration which could improve performance.
Your coding agent can read these notes before it upgrades. Set up the MCP server →