{ "name": "overtrue/qcloud-cos-client", "description": "Client of QCloud.com COS", "license": "MIT", "authors": [ { "name": "overtrue", "email": "anzhengchao@gmail.com" } ], "require": { "php": ">=7.4", "psr/http-message": "^1.0||^2.0", "guzzlehttp/guzzle": "^7.2", "ext-libxml": "*", "ext-simplexml": "*", "ext-json": "*", "ext-dom": "*" }, "require-dev": { "brainmaestro/composer-git-hooks": "^2.7", "friendsofphp/php-cs-fixer": "^3.4.0", "mockery/mockery": "^1.0", "phpunit/phpunit": "^9.0", "monolog/monolog": "^2.1" }, "autoload": { "psr-4": { "Overtrue\\CosClient\\": "src" } }, "autoload-dev": { "psr-4": { "Overtrue\\CosClient\\Tests\\": "tests" } }, "extra": { "hooks": { "pre-commit": [ "composer test", "composer check-style" ], "pre-push": [ "composer test", "composer check-style" ] } }, "scripts": { "post-update-cmd": [ "cghooks update" ], "post-merge": "composer install", "post-install-cmd": [ "cghooks add --ignore-lock", "cghooks update" ], "cghooks": "vendor/bin/cghooks", "check-style": "php-cs-fixer fix --using-cache=no --diff --dry-run --ansi", "fix-style": "php-cs-fixer fix --using-cache=no --ansi", "test": "vendor/bin/phpunit" }, "scripts-descriptions": { "test": "Run all tests.", "check-style": "Run style checks (only dry run - no fixing!).", "fix-style": "Run style checks and fix violations." } }