Best laravel framework open-source packages.

Google cloud storage

Laravel Google Cloud Storage Package
Updated 8 years ago

google-cloud-storage

Packagist Software License Travis Scrutinizer Github All Releases

This is a Package to upload files to the Google Cloud CDN.

Install

$ composer require ianvdmerwe/google-cloud-storage

Add Service Provider

IoDigital\GoogleCloudStorage\GoogleCloudStorageServiceProvider::class

Run Vendor publish

$ php artisan vendor:publish

Configure the config file created

Usage

$googleCloudHandler = new GoogleCloudStorageHandler();
$googleCloudHandler->uploadFile();

OR
use IoDigital\GoogleCloudStorage\Storage\GoogleCloudStorageHandler;
Dependency Inject: GoogleCloudStorageHandler

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email ian@io.co.za instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.