This is a Flysystem adapter for the Qiniu.
larva/laravel-flysystem-qiniu is a Laravel package for this is a flysystem adapter for the qiniu..
It currently has 0 GitHub stars and 1.155 downloads on Packagist (latest version 1.0.3).
Install it with composer require larva/laravel-flysystem-qiniu.
Discover more Laravel packages by larva
or browse all Laravel packages to compare alternatives.
Last updated
This is a Flysystem adapter for the Qiniu
composer require larva/laravel-flysystem-qiniu -vv
This service provider must be registered.
// config/app.php
'providers' => [
'...',
Larva\Flysystem\Qiniu\QiniuServiceProvider::class,
];
edit the config file: config/filesystems.php
add config
'qiniu' => [
'driver' => 'qiniu',
'access_key' => env('QINIU_ACCESS_KEY'),
'secret_key' => env('QINIU_SECRET_KEY'),
'bucket' => env('QINIU_BUCKET'),
'prefix' => env('QINIU_PREFIX'), // optional
'url' => env('QINIU_BUCKET_URL'),
'visibility' => 'private',
],
change default to oss
'default' => 'qiniu'
see Laravel wiki