shershon / common
常用的、基于 psr 的通用组件
v1.0.0
2022-08-23 14:24 UTC
Requires
- ext-json: *
- guzzlehttp/guzzle: >=6.0
- pragmarx/ia-arr: ^7.3
- psr/container: ^1.0
- psr/event-dispatcher: ^1.0
- psr/http-message: ^1.0
- psr/log: ^1.1
- psr/simple-cache: ^1.0
Requires (Dev)
- monolog/monolog: ^2.2
- php-di/php-di: ^6.3
- phpunit/phpunit: ^8.5
This package is auto-updated.
Last update: 2025-03-21 10:34:21 UTC
README
常用的通用组件:
- 基于 psr 封装的http通信组件
2.安装
- 配置composer.json
{ "require-dev": { "shershon/common": "^1.0.0" }, "config": { "secure-http": false }, "repositories": [ { "type": "git", "url": "https://github.com/shershon-php-package/common-component.git" } ] }
- composer require --ignore-platform-reqs shershon/common
- rm -rf vendor/shershon/common/.git
3.更新包版本
- composer require --ignore-platform-reqs shershon/common:1.0.0(替换成指定的版本)
- rm -rf vendor/shershon/common/.git