To make sure that spatie/laravel-medialibrary is installed, and the version installed is supported, I think it's best to have it as a requirement in composer.json.
Bonus: when installing this addon, it's one less command, if they have the addon installed, they already have spatie/laravel-medialibrary installed too.
To make sure that
spatie/laravel-medialibrary
is installed, and the version installed is supported, I think it's best to have it as a requirement in composer.json.Bonus: when installing this addon, it's one less command, if they have the addon installed, they already have
spatie/laravel-medialibrary
installed too.