承接 ems-shield/ems-shield-php-client 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ems-shield/ems-shield-php-client

Composer 安装命令:

composer require ems-shield/ems-shield-php-client

包简介

ems-shield api php client

README 文档

README

Requirements

The only lib required is Guzzle, PHP HTTP client.

Installation

composer require ems-shield/ems-shield-php-client

OpenAPI specification file

This PHP client lib was generated using the openapi.json file located in the root directory. Copy this file content in editor.swagger.io to see all the possibilities.

Use

Initialize the client

ems-shied api uses OAuth2 access authentication.

The first parameter must be a valid access token. The second parameter is the API entry point url. The third one is optional and is an array of headers that will be apply to every requests of the internal Guzzle client, allowing to specify the accepted language for errors eg.

/** @var \EmsShield\Api\ApiClient $apiClient */ $apiClient = new \EmsShield\Api\ApiClient( $token, 'https://ems-shield-api-entry-point.tld', ['Accept-Language' => 'en'] );

Request resources with managers

Handle resources requesting with the main API client object like this :

/** @var \EmsShield\Api\Resources\UserResponse $userResponse */ $userResponse = $apiClient->MeManager()->getUser(); /** @var \EmsShield\Api\Resources\User $me */ $me = $userResponse->data;

TODO

More documentation to come with the first release...

Features to come :

  • Link to the main documentation
  • Generated unit test

统计信息

  • 总下载量: 30.12k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固