softavis / flysystem-cloudflare-bundle
Symfony bundle for implementing flysystem cloudflare adapter
Installs: 147
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.2
- league/flysystem: ^2.1|^3.0
- softavis/flysystem-cloudflare: ^0.3
- symfony/config: ^5.4 || ^6.0 || ^7.0
- symfony/dependency-injection: ^5.4 || ^6.0 || ^7.0
- symfony/http-kernel: ^5.4 || ^6.0 || ^7.0
- symfony/options-resolver: ^5.4 || ^6.0 || ^7.0
This package is auto-updated.
Last update: 2024-11-15 07:07:14 UTC
README
flysystem-cloudflare-bundle is a Symfony bundle integrating the Flysystem and Cloudflare Images API into Symfony applications.
Installation
flysystem-cloudflare-bundle requires PHP 7.2+ and Symfony 5.4+.
You can install the bundle using Symfony Flex:
composer require softavis/flysystem-cloudflare-bundle
Basic usage
Configuration are already configured with league/flysystem-bundle, just change adapter to 'cloudflare' where you need it
# config/packages/flysystem.yaml flysystem: storages: default.storage: adapter: 'cloudflare' options: token: <your-cloudflare-access-token> accountId: <your-cloudflare-account-id> accountHash: <your-cloudflare-account-hash> variantName: public # Variant name use it by default