Skip to content

SvenSchoene/medialibrary-gcs-url-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Custom URL generator for spatei/medialibrary that generators URLs for files stored on Google Cloud Storage using Superbalist/laravel-google-cloud-storage

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%