PHPackages                             ems-encrypt/ems-encrypt-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. [Security](/categories/security)
4. /
5. ems-encrypt/ems-encrypt-php-client

ActiveLibrary[Security](/categories/security)

ems-encrypt/ems-encrypt-php-client
==================================

ems-encrypt php client

030.8kPHP

Since Sep 17Pushed 4y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (3)Used By (0)

ems-encrypt php client
======================

[](#ems-encrypt-php-client)

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

[](#requirements)

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

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

[](#installation)

```
composer require ems-encrypt/ems-encrypt-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-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 \EmsEncrypt\Api\ApiClient $apiClient */
$apiClient = new \EmsEncrypt\Api\ApiClient(
    $token,
    'https://ems-encrypt-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 \EmsEncrypt\Api\Resources\UserResponse $userResponse */
$userResponse = $apiClient->MeManager()->getUser();

/** @var \EmsEncrypt\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

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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://avatars.githubusercontent.com/u/47424999?v=4)[ems-encrypt](/maintainers/ems-encrypt)[@ems-encrypt](https://github.com/ems-encrypt)

---

Top Contributors

[![ems-encrypt](https://avatars.githubusercontent.com/u/47424999?v=4)](https://github.com/ems-encrypt "ems-encrypt (1 commits)")

### Embed Badge

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

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

###  Alternatives

[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.7M143](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24820.0k37](/packages/paragonie-ecc)

PHPackages © 2026

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