NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #3640 most downloaded on Packagist
A package for easily uploading and attaching media files to models with Laravel
Latest stable
7.1.3
Last release 1 months ago
12 Oct 2026
Release timing varies
gaps range from 8 days to 12 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
98 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
Fix windows paths pattern (Thanks @aalyusuf!)
Add methods to facade for IDE autocompletion (Thanks @simonschaufi!)
Added update on duplicate behaviour to MediaUploader (Thanks @pet1330!)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Return correct types in source adapter methods (Thanks @sebdesign!)
Fixed docblocks (Thanks @sebdesign!)
* Fixed tags with numeric values
Added MediaUploader::verifyFile() to apply validation to a source without uploading (Thanks @JulesPrimo)
MediaUploader::verifyFile() to apply validation to a source without uploading (Thanks @JulesPrimo)MediaUploader::beforeSave() to allow editing custom fields on Media records before they are saved (Thanks @JulesPrimo)Fix URL generation for local disks using symbolic links in different Laravel versions (Thanks @sebdesign !)
onDuplicateIncrement() behaviour adjusted to use hyphens instead of parenthesis (Thanks @ryankilf!)
MediaUploader::onDuplicateIncrement() behaviour adjusted to use hyphens instead of parenthesis (Thanks @ryankilf!)Added copyTo() method (Thanks @johannesschobel!)
copyTo() method (Thanks @johannesschobel!)Added Mediable::lastMedia() convenience method (Thanks @pet1330!)
Mediable::lastMedia() convenience method (Thanks @pet1330!)Added Laravel 5.5 package autodiscovery
- Added missing use statements.
- Fixed composer notation usage.
Added fallback extension guesser to various SourceAdapters for cases where file path does not include extension (e.g. tmp files).
Fixed allowed extension checking failing due to case mismatch
Restored Laravel 5.2 compatibility
S3UrlGenerator now generates the url directly with S3 client, instead of with the FilesystemAdapter::url() method, which was only added in Laravel 5.2.15wherePivotIn() used in eager loading, which was only added in Laravel 5.3Fixed issues cause by Laravel 5.4 backwards-compatibility breaks
The onDuplicateDelete action of the MediaUploader now manually deletes the Media record and the file on disk, instead of depending on the record exist
onDuplicateDelete action of the MediaUploader now manually deletes the Media record and the file on disk, instead of depending on the record existing to clean its own file.Added support for raw content strings to MediaUploader (Thanks @sebdesign)
MediaUploader (Thanks @sebdesign)MediaUploader (Thanks @sebdesign)MediaUploader (Thanks @sebdesign)Separated MediaUploadException into a number of subclasses for more granular exception handling (Thanks @sebdesign!).
Fixed SQL escaping issue in Mediable::getOrderValueForTags.
Mediable::getOrderValueForTags.Fixed Media::scopeForPathOnDisk not working when path does not contain a directory (Thanks @geidelguerra!)
Media::scopeForPathOnDisk not working when path does not contain a directory (Thanks @geidelguerra!)Fixed typo in MediaUploader OnDuplicateError behaviour (Thanks @geidelguerra!)
MediaUploader's OnDuplicateError behaviour (Thanks @geidelguerra!).Added handling for symlinked local disks
Added means of removing order by from media relation query.
attachMedia() or syncMedia() receiving the same order value.ONLY_FULL_GROUP_BY (MySQL 5.6.5+).attachMedia() to optimize the number of executed queries.Mediable models now remember the order in which Media is attached to each tag.
Mediable models now remember the order in which Media is attached to each tag.MediaUploader methods.MediaUploader on-duplicate behaviour. Thanks @jdhmtl.MediaUploader can now generate filenames using hash of file contents. Thanks @geidelguerra!import() and update() methods to MediaUploader.Published migration file now uses dynamic timestamp
Published migration file now uses dynamic timestamp
Added behaviour for detaching mediable relationships when Media or Mediable models are deleted or soft deleted.
Media or Mediable models are deleted or soft deleted.Fixed Mediable relationship not connecting to custom Media subclass defined in config.
Added match-all case to media eager load helpers.
Mediable::getTagsForMedia() now properly rehydrates media if necessary.Mediable::load() now looks for media that is either the $relationship key or valueAdded media eager loading helpers to query builder, Mediable, and MediaCollection.
Mediable, and MediaCollection.Added object typehints to all appropriate functions and closures.
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
One column per quarter.