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 5 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.
fix clearing entire media collection except a single media instance
- improve config comments
fixed the spelling of the getFirstTemporaryUrl method
getFirstTemporaryUrl methodYour coding agent can read these notes before it upgrades. Set up the MCP server →
- add getFirstTemporaryUrl
getFirstTemporaryUrladd only-missing and only options to the media-library:regenerate command
only-missing and only options to the media-library:regenerate commandfix correct minimal versions for league/flysystem and spatie/image when using --prefer-lowest option with composer
league/flysystem and spatie/image when using --prefer-lowest option with composerfix deletion of files when using a custom path generator
implement Responsable interface
Responsable interface- add sanitizingFileName
sanitizingFileNamefix for working with large files
- add ConversionWillStart event
ConversionWillStart eventfixed URL-encoding for S3 files
bugfix: getTemporaryUrl now uses disk name instead of disk driver
getTemporaryUrl now uses disk name instead of disk driverbugfix: remove getTemporaryUrl method from UrlGenerator interface
getTemporaryUrl method from UrlGenerator interfaceadd getTemporaryUrl method for media stored on S3
getTemporaryUrl method for media stored on S3add compatibility for Laravel 5.5
registerMediaConversions has been changedmedia to publicdefaultFilesystem config option has been renamed to default_filesystem- add getPath to S3UrlGenerator
getPath to S3UrlGeneratorfix error when try to close a file that was already closed by flysystem
fix MediaCannotBeDeleted exception
MediaCannotBeDeleted exception- add support for soft deletes
fixed array fields in addMultipleMediaFromRequest
addMultipleMediaFromRequestadd parameter to specify allowed mime types to addMediaFromUrl and addMediaFromBase64
addMediaFromUrl and addMediaFromBase64fix bugs regarding attaching media to non-existing models
add support to addAllMediaFromRequest for file names in the request that contain an array
addAllMediaFromRequest for file names in the request that contain an arrayshow progress bar when regenerating media
media can now be attached to unsaved models
fix bug where mediaIsPreloaded always returned true
mediaIsPreloaded always returned truefix bug where the wrong extension would be returned by getResultExtension for keepOriginalImageFormat
getResultExtension for keepOriginalImageFormatadd clearMediaCollectionExcept method
clearMediaCollectionExcept methodadd keepOriginalImageFormat manipulation
keepOriginalImageFormat manipulation- add toMediaCollection
toMediaCollectionfix bug where streams would be used on external filesystems that do not support streaming
prevent migration from being published multiple times
LocalUrlGenerator will now use the url property of disk when one has been setfix for using MediaRepository with a custom media model
MediaRepository with a custom media modeladd createMultipleFromRequest and createAllFromRequest on FileAdder
createMultipleFromRequest and createAllFromRequest on FileAdderadd temporary_directory_path to config
temporary_directory_path to configfix bug around getRemoteHeadersForFile()
getRemoteHeadersForFile()fix for undefined function getPath when using S3
getPath when using S3this version is broken, do not use
this version is broken, do not use
getPath when using S3add support for registerMediaConversionsUsingModelInstance
registerMediaConversionsUsingModelInstance- add addMediaFromBase64
addMediaFromBase64- add fullUrl method
fullUrl methodfix loading manipulations from the db
fix for getFirstMediaUrl() always returning the url for the first conversion
getFirstMediaUrl() always returning the url for the first conversionimage generators may now be specified in the config file
toMediaLibraryOnCloudDiskmanipulations and custom_propertiesFileCannotBeAdded to their own exception classeslaravel-medialibrary to medialibrarytoCollection and toCollectionOnDisk and toMediaLibraryOnDiskspatie/laravel-glide by spatie/imageSpatie\MediaLibraryFilesystemInterface to Spatie\MediaLibrary\Filesystem\FilesystemwithCustomProperties, getNestedCustomProperty, setNestedCustomProperty, forgetNestedCustomProperty and hasNestedCustomPropertyKNOWN BUG: loading manipulations from the db doesn't work in certain edge cases, fix incoming soon
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
- add FilesystemInterface
FilesystemInterfaceavoid unnecessary regeneration of conversions when saving a model
- add support for Laravel 5.4 - drop support for Laravel 5.1
put files using r mode instead of r+
r mode instead of r+avoid creating / deleting temp dir if no conversions should be performed
- fix bug in setNewOrder
setNewOrderrenamed removeCustomProperty to forgetCustomProperty (removeCustomProperty still exists but is marked as deprecated)
hasNestedCustomProperty, getNestedCustomProperty, setNestedCustomProperty and forgetNestedCustomProperty to use dot notation with custom propertiesremoveCustomProperty to forgetCustomProperty (removeCustomProperty still exists but is marked as deprecated)fix for getting preloaded media in the wrong order
refactored the preloading of media
- reduce amount of calls to s3
s3One column per quarter.