NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #3763 most downloaded on Packagist
A package for easily uploading and attaching media files to models with Laravel
Last release 2 days ago
04 Oct 2026
Release timing varies
gaps range from 3 weeks to 12 months
Nearly every release is documented
notes for 55 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
96 releases · first in 2016
Added update on duplicate behaviour to MediaUploader (Thanks @pet1330!)
Return correct types in source adapter methods (Thanks @sebdesign!)
One column per quarter.
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 !)
MediaUploader::onDuplicateIncrement() behaviour adjusted to use hyphens instead of parenthesis (Thanks @ryankilf!)
MediaUploader::onDuplicateIncrement() behaviour adjusted to use hyphens instead of parenthesis (Thanks @ryankilf!)Added Media::copyTo() method (Thanks @johannesschobel!)
Media::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 use.
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's 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.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 (Thanks @borisdamevin!).
Added behaviour for detaching mediable relationships when Media or Mediable models are deleted or soft deleted.
Fixed Mediable relationship not connecting to custom Media subclass defined in config.
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 value.Added 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
Your coding agent can read these notes before it upgrades. Set up the MCP server →