helieting / flysystem-tencentyun-cos by helieting

flysystem adapter for Qcloud
23
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-12-17 03:00:04
Package Statistics
Total Downloads: 23
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');