shershon/common

常用的、基于 psr 的通用组件

v1.0.0 2022-08-23 14:24 UTC

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