Cloudflare R2 (S3 Compatible API) Configuration Example #44859
Answered
by
xolf
nathanaelytj
asked this question in
Q&A
Replies: 3 comments 2 replies
-
Hey, this can be achieved pretty simple. Should I share the configuration with you? |
Beta Was this translation helpful? Give feedback.
1 reply
-
// Cloudflare R2 - https://developers.cloudflare.com/r2
// See https://developers.cloudflare.com/r2/examples/aws-sdk-php/ for configuration
'r2' => [
'driver' => 's3',
'key' => env('R2_ACCESS_KEY_ID'),
'secret' => env('R2_SECRET_ACCESS_KEY'),
'region' => 'auto',
'bucket' => env('R2_BUCKET'),
'endpoint' => env('R2_ENDPOINT'),
'throw' => true,
], |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
nathanaelytj
-
Here is an article on how to setup Cloudflare R2 with Laravel |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How to create config for Cloudflare R2 bucket?
Thank you for help
Beta Was this translation helpful? Give feedback.
All reactions