Download the PHP package jackillll/flysystem-qcloud-cos without Composer
On this page you can find all versions of the php package jackillll/flysystem-qcloud-cos. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jackillll/flysystem-qcloud-cos
More information about jackillll/flysystem-qcloud-cos
Files in jackillll/flysystem-qcloud-cos
Package flysystem-qcloud-cos
Short Description Flysystem Adapter for Tencent Qcloud COS SDK V5
License MIT
Informations about the package flysystem-qcloud-cos
Installation
Support Laravel/Lumen 12.x (PHP 8.2+) For older Laravel versions, please use v2.x Also supports standalone PHP projects
Usage
For Standalone PHP Projects (Recommended)
For non-Laravel projects, use the factory class for easy setup:
Available Factory Methods:
QcloudCosFactory::createExtendedAdapter($config)- Creates extended adapter with Laravel-like methodsQcloudCosFactory::createFilesystem($config)- Creates basic Flysystem instanceQcloudCosFactory::createClient($config)- Creates COS client onlyQcloudCosFactory::validateConfig($config)- Validates configuration
See more examples in the /examples directory.
For Laravel Projects
Bootstrap
API
Use in Laravel
Laravel 12+ uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.
Driver Names
This package supports two driver names for backward compatibility:
qcloud-cos(recommended for new projects)
Configuration
-
Configure
config/filesystems.phpwith either driver: - Configure
.env:
Use in Lumen
-
Add the following code to your
bootstrap/app.php: -
And this:
- Configure
.env:
Usage
Regions & Endpoints
License
The MIT License (MIT). Please see License File for more information.
All versions of flysystem-qcloud-cos with dependencies
league/flysystem Version ^3.0
guzzlehttp/guzzle Version ^7.0
qcloud/cos-sdk-v5 Version ^2.0
nesbot/carbon Version ^3.0
ext-json Version *
illuminate/filesystem Version ^12.0
illuminate/support Version ^12.0