helieting/flysystem-tencentyun-os

flysystem adapter for Qcloud

0.5.3 2016-04-05 14:33 UTC

This package is not auto-updated.

Last update: 2024-12-07 20:44:03 UTC


README

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');