leewillis77 / medialibrary-gcs-url-generator
Custom URL generator for spatei/medialibrary that generators URLs for files stored on Google Cloud Storage using Superbalist/laravel-google-cloud-storage
Installs: 1 167
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 3
Open Issues: 0
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',