shershon / common
常用的、基于 psr 的通用组件
Installs: 9
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/shershon/common
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-10-21 11:37:48 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