PHPackages                             ems-shield/ems-shield-php-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. ems-shield/ems-shield-php-client

ActiveLibrary[API Development](/categories/api)

ems-shield/ems-shield-php-client
================================

ems-shield api php client

031.3k↓92.3%PHP

Since Jun 8Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ems-shield/ems-shield-php-client)[ Packagist](https://packagist.org/packages/ems-shield/ems-shield-php-client)[ RSS](/packages/ems-shield-ems-shield-php-client/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

ems-shield api php client
=========================

[](#ems-shield-api-php-client)

Requirements
------------

[](#requirements)

The only lib required is [Guzzle, PHP HTTP client](https://github.com/guzzle/guzzle).

Installation
------------

[](#installation)

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

OpenAPI specification file
--------------------------

[](#openapi-specification-file)

This PHP client lib was generated using the [openapi.json](./openapi.json) file located in the root directory. Copy this file content in [editor.swagger.io](https://editor.swagger.io/) to see all the possibilities.

Use
---

[](#use)

### Initialize the client

[](#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

[](#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
----

[](#todo)

More documentation to come with the first release...

Features to come :

- Link to the main documentation
- Generated unit test

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ea46eab7e7a16a14952e3409cad27d0a2ffa7c33f085bd35b602e59633ad5a90?d=identicon)[ems-shield](/maintainers/ems-shield)

### Embed Badge

![Health badge](/badges/ems-shield-ems-shield-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/ems-shield-ems-shield-php-client/health.svg)](https://phpackages.com/packages/ems-shield-ems-shield-php-client)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
