Skip to content

Add a laravel's service provider to use yandex cloud storage as simple as amazon s3

Notifications You must be signed in to change notification settings

artsur/yandex-object-storage

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Yandex Object Storage

Just add service provider for yandex cloud

Install

Via composer:

composer require artsur/yandex-object-storage-provider

Usage

After installing this package add the following code to your config/filesystems.php:

'yandex' => [
            'driver' => 'yandexcloud',
            'key' => 'your-key',
            'secret' => 'your-secret',
            'bucket' => 'bucket-name',
            'region' => 'us-east-1',
],

And then you can use

$disk = Storage::disk('yandex');

to get your yandex cloud storage instance

Don't forget to add the artsur\YandexObjectStorage\YandexObjectStorageServiceProvider to your $providers array if your laravel version lower than 5.5

About

Add a laravel's service provider to use yandex cloud storage as simple as amazon s3

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%