hughcube / composer-alioss-plugin
composer proxy plugin
Installs: 27
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:composer-plugin
Requires
- php: >=7.0
- composer-plugin-api: ^1.0|^2.0
- aliyuncs/oss-sdk-php: ^2.4
- hughcube/purl: *
Requires (Dev)
- composer/composer: ^2.0|^1.0
- phpstan/phpstan: ^0.12.0
- phpunit/phpunit: ^9.0|^8.0|^7.0|^6.0
- squizlabs/php_codesniffer: ^3
README
Installing
$ composer global require hughcube/composer-alioss-plugin -vvv
Set config in composer.json or ~/.composer/config.json
{ "config": { "alioss": [ { "active": true, "nonHosts": null, "hosts": "packagist.phpcomposer.com|repo.packagist.org", "accessKey": "<yourAccessKeyId>", "accessKeySecret": "<yourAccessKeySecret>", "endpoint": "http://oss-cn-hangzhou.aliyuncs.com", "securityToken": "<yourSecurityToken>", "bucket" : "<yourBucket>" } ] } }