NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #5462 most downloaded on Packagist
PHP SDK for QCloud COS
Latest stable
v2.6.17
Last release 3 months ago
27 Jul 2026
Ships unpredictably
gaps range from 3 weeks to 1.5 years
Nearly every release is documented
notes for 56 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
74 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
Update copy interface.(Fixed a serious bug of the replication interface. If you need to use copy, upgrade to the latest version)
cos-php-sdk-v5 now uses [GuzzleHttp] for HTTP message. Due to fact, it depending on PHP >= 5.6.
Qcloud\Cos\Client\getPresignetUrl() method instead of the Qcloud\Cos\Command\createPresignedUrl()v2:
$signedUrl = $cosClient->getPresignetUrl($method='putObject',
$args=['Bucket'=>'examplebucket-1250000000', 'Key'=>'exampleobject', 'Body'=>''],
$expires='+30 minutes');
v1:
$command = $cosClient->getCommand('putObject', array(
'Bucket' => "examplebucket-1250000000",
'Key' => "exampleobject",
'Body' => '',
));
$signedUrl = $command->createPresignedUrl('+30 minutes');
$copSource parameters of the Qcloud\Cos\Client\Copy interface are no longer compatible with older versions.v2:
$result = $cosClient->copy(
$bucket = '<srcBucket>',
$Key = '<srcKey>',
$copySorce = array(
'Region' => '<sourceRegion>',
'Bucket' => '<sourceBucket>',
'Key' => '<sourceKey>',
)
);
v1:
$result = $cosClient->Copy(
$bucket = '<srcBucket>',
$key = '<srcKey>',
$copysource = '<sourceBucket>.cos.<sourceRegion>.myqcloud.com/<sourceKey>'
);
open() to upload stream, if the local file does not exist, a 0 byte file will be uploaded without throwing an exception, only a warning.Your coding agent can read these notes before it upgrades. Set up the MCP server →
1. Fix installation documentation 2. Add zip and phar files
Fixed a problem with pre-signed operations
Fixed a problem with pre-signed operations
Fix composer autoload Fix composer require
Fix composer autoload Fix composer require
Nothing published for this version
Nothing published for this version
1. fix copy part complete method 2. Compatible PHP5.3 3. add ServerSideEncryption
Nothing published for this version
1.Add copy, lifecycle, replication, versioning, cors etc. interface 2.fix appid and bucketname
1.Add copy, lifecycle, replication, versioning, cors etc. interface 2.fix appid and bucketname
Nothing published for this version
Nothing published for this version
Fix getAcl and listobjects bugs
Fix getAcl and listobjects bugs
Nothing published for this version
Nothing published for this version
One column per quarter.