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 3y 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 1w 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 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

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://www.gravatar.com/avatar/61b687fcdddb65c1160ff8c9df7b8d4ce2eb42a90ceeb426e971e2e3065c781c?d=identicon)[ems-encrypt](/maintainers/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

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[mews/purifier

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

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41478.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

87117.5M63](/packages/bjeavons-zxcvbn-php)[illuminate/encryption

The Illuminate Encryption package.

9229.7M280](/packages/illuminate-encryption)[paragonie/hidden-string

Encapsulate strings in an object to hide them from stack traces

7410.6M39](/packages/paragonie-hidden-string)

PHPackages © 2026

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