helieting / flysystem-tencentyun-cos by helieting

flysystem adapter for Qcloud
22
0
1
Package Data
Maintainer Username: helieting
Maintainer Contact: helieting@gmail.com (helieting)
Package Create Date: 2016-04-05
Package Last Update: 2016-04-05
Language: PHP
License: MIT
Last Refreshed: 2024-11-09 15:00:05
Package Statistics
Total Downloads: 22
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

flysystem-tencentyun-cos

use Qcloud_cos\Cosapi;
use Helieting\Flysystem\Qcloud\QcloudAdapter;
use League\Flysystem\Filesystem;

require "vendor/autoload.php";

$config = [
	'bucket' => 'testbucket',
];

$storage = new Filesystem(new QcloudAdapter($config));

$storage->getMetadata('xxx.png');