PHP code example of webguosai / flysystem-qiniu
1. Go to this page and download the library: Download webguosai/flysystem-qiniu library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
webguosai / flysystem-qiniu example snippets
'qiniu' => [
'driver' => \Webguosai\Flysystem\Qiniu\QiniuAdapterFactory::class,
'accessKey' => env('QINIU_ACCESS_KEY'),
'secretKey' => env('QINIU_SECRET_KEY'),
'bucket' => env('QINIU_BUCKET'),
'domain' => env('QINIU_DOMAIN'),
'public_url' => env('QINIU_DOMAIN')
],