superdupercybertechno / edwin
Adds the Digital Ocean Spaces as a file system driver for Laravel
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:laravel-package
pkg:composer/superdupercybertechno/edwin
Requires
- laravel/framework: ^6.0
 - league/flysystem-aws-s3-v3: ^1.0
 
README
AKA Digital Ocean Spaces File System Driver for Laravel
A simple extension that adds the Digital Ocean Spaces as a file system extension to Laravel.
Just install via Composer:
composer require superdupercybertechno/edwin
... add the driver to app/filesystems.php...:
'spaces' => [
    'driver' => 'spaces',
    'key' => env('DIGITAL_OCEAN_SPACES_KEY'),
    'secret' => env('DIGITAL_OCEAN_SPACES_SECRET'),
    'region' => env('DIGITAL_OCEAN_SPACES_REGION'),
    'bucket' => env('DIGITAL_OCEAN_SPACES_BUCKET'),
],
... and finally add the credentials to .env:
DIGITAL_OCEAN_SPACES_KEY=[your key]
DIGITAL_OCEAN_SPACES_SECRET=[your secret]
DIGITAL_OCEAN_SPACES_REGION=[your region]
DIGITAL_OCEAN_SPACES_BUCKET=[your bucket name]
At this point you should be good to go!