leewillis77 / medialibrary-gcs-url-generator
This package is abandoned and no longer maintained.
No replacement package was suggested.
Custom URL generator for spatei/medialibrary that generators URLs for files stored on Google Cloud Storage using Superbalist/laravel-google-cloud-storage
Package info
github.com/leewillis77/medialibrary-gcs-url-generator
pkg:composer/leewillis77/medialibrary-gcs-url-generator
1.0.1
2020-07-27 08:13 UTC
Requires
- php: ^7.0
- laravel/framework: ~5.5.0|~5.6.0
- spatie/laravel-medialibrary: ~6.6.0
- superbalist/laravel-google-cloud-storage: ~2.0.0
Requires (Dev)
This package is auto-updated.
Last update: 2021-02-03 17:39:36 UTC
README
Media Library GCS URL Generator
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).
Installation
Add the package to your Laravel project using composer:
$ composer require leewillis77/medialibrary-gcs-url-generator
Configuration
Set the class as the custom_url_generator_class in config/medialibrary.php:
'custom_url_generator_class' => 'Leewillis77\MedialibraryGcsUrlGenerator\MedialibraryGcsUrlGenerator',