Download the PHP package reusser/laravel-cloudflare-r2 without Composer
On this page you can find all versions of the php package reusser/laravel-cloudflare-r2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download reusser/laravel-cloudflare-r2
More information about reusser/laravel-cloudflare-r2
Files in reusser/laravel-cloudflare-r2
Package laravel-cloudflare-r2
Short Description Cloudflare R2 integration for Laravel's Storage API
License MIT
Homepage https://github.com/reusserdesign/laravel-cloudflare-r2
Informations about the package laravel-cloudflare-r2
Cloudflare R2 integration for Laravel's Storage API
Cloudflare R2 integration for Laravel's Storage API
Installation
You can install the package via composer:
Option 1: Use a new Disk
Add this to the disks section of config/filesystems.php:
And fill out these in your .env:
Option 2: Use S3 Disk
Change your s3 disk to the R2 driver in config/filesystems.php:
And fill out these in your .env:
FAQ
Is this package really necessary?
No, you can use the s3
driver with Cloudflare R2, but this package makes it easier to use. Just be sure to set 'retain_visibility' => false,
in your standard s3
configuration to prevent incompatibility issues.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Austin Drummond
- Jake Ryan Smith
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-cloudflare-r2 with dependencies
illuminate/contracts Version ^10.0||^11.0
league/flysystem-aws-s3-v3 Version ^3.25
league/flysystem-path-prefixing Version ^3.23
league/flysystem-read-only Version ^3.23
spatie/laravel-package-tools Version ^1.16