ckfinder / ckfinder-laravel-package

CKFinder 3 package for Laravel
Other
153 stars 86 forks source link

Support for DigitalOcean Spaces #89

Open itsrexb opened 1 year ago

itsrexb commented 1 year ago

Good day!
Did anyone try using this? Thanks!

joelclermont commented 1 month ago

I created a DigitalOcean backend adapter by copying the S3 one, and adding these 3 lines to it:

if (isset($backendConfig['endpoint'])) {
    $clientConfig['endpoint'] = $backendConfig['endpoint'];
}

Then I used the service container to extend this package with my new adapter.

Hopefully this helps until the endpoint config is supported natively by the built-in s3 adapter.