Extra features for spatie/laravel-medialibrary package
MIT License
Bot releases are visible (Hide)
Spatie\MediaLibrary\HasMedia\HasMediaTrait::extensionsFromMimeTypes()
method is now executed by Symfony\Component\Mime\MimeTypes::getExtensions()
(which is far more reliable).mimes
validation is now executed before the mimetypes
validation, in order to return a more comprehensible error for end user in case of wrong uploaded file type.->validationConstraints()
method does now return an array, rather than a string before.CollectionNotFound
exception in order to follow the base package behaviour.ConversionsNotFound
exception in order to follow the base package behaviour.__('medialibrary.constraint.mimeTypes')
translation by trans_choice('medialibrary.constraint.types')
translation, in order to provide clearer legends.version_urls
to true
in the config file in order to have your image urls versioned.config('medialibrary.image_name_versioning')
is set to true.spatie/laravel-medialibrary:7.10.1
release.