Collections of Path generators for Spatie laravel-medialibrary pacakge
comotic/laravel-medialibrary-generators is a Laravel package for collections of path generators for spatie laravel-medialibrary pacakge.
It currently has 3 GitHub stars and 519 downloads on Packagist (latest version 1.0.0).
Install it with composer require comotic/laravel-medialibrary-generators.
Discover more Laravel packages by comotic
or browse all Laravel packages to compare alternatives.
Last updated
This is where your description should go. Try and limit it to a paragraph or two. Consider adding a small example.
You can install the package via composer:
composer require comotic/laravel-medialibrary-generators
If you haven't already done that, you must publish laravel-medialibray config file:
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="config"
Then choose the generator that fits your needs and update the path_generator key of the config file.
That's it, profit!
UuidPathGenerator: Use Media's UUID instead of key to name the folderSeparatedByModelPathGenerator: Group media by model type then by media idcomposer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.