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

1.0.1 2020-07-27 08:13 UTC

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',