A Laravel package to allow you to generate URLs for media managed by spatie/laravel-medialibrary when it is stored on a Google Cloud Storage filesystem (using Superbalist/laravel-google-cloud-storage).
Add the package to your Laravel project using composer:
$ composer require leewillis77/medialibrary-gcs-url-generator
Set the class as the custom_url_generator_class
in config/medialibrary.php
:
'custom_url_generator_class' => 'Leewillis77\MedialibraryGcsUrlGenerator\MedialibraryGcsUrlGenerator',