PHPackages                             cyphp/empg - 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. cyphp/empg

ActiveLibrary[API Development](/categories/api)

cyphp/empg
==========

Enhanced MPG unified API for PHP 7.x

0.0.2(9y ago)234GPL-3.0PHPPHP ^5.6 || ^7.0

Since Jan 10Pushed 9y ago5 watchersCompare

[ Source](https://github.com/cyphp/empg)[ Packagist](https://packagist.org/packages/cyphp/empg)[ RSS](/packages/cyphp-empg/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (5)Versions (3)Used By (0)

empg [![Build Status](https://camo.githubusercontent.com/af455101b03fc99d04a894c5c9d93fd92dbe5282be63a4ae9fa197ceb5b066c2/68747470733a2f2f7472617669732d63692e6f72672f63797068702f656d70672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/cyphp/empg)
==================================================================================================================================================================================================================================================================

[](#empg-)

[![Total Downloads](https://camo.githubusercontent.com/c3173c5e995799d273b4abf781e2414f4ab992d65d611dc103beddc0094088a2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63797068702f656d70672e737667)](https://packagist.org/packages/cyphp/empg)[![Latest Stable Version](https://camo.githubusercontent.com/81dc997f6075480b5427bcc10e7f56d58a878a1eac1444f5a06ca45e37b8fefc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63797068702f656d70672e737667)](https://packagist.org/packages/cyphp/empg)

Enhanced MPG unified API library for PHP 7.x

Inspired by

Features
--------

[](#features)

- PHP 7.x compatible
- Improvement reliability
- Composer package
- Mimic as much as original class nomenclature

Install
-------

[](#install)

```
composer require cyphp/empg
```

Example
-------

[](#example)

```
require_once './vender/autoload.php';

use Empg\Client;

$client = new Client('MY_STORE_ID', 'MY_API_TOKEN');

$response = $client->post(
    new MpgRequest(
        new MpgTransaction([
            // ...
        ])
    )
);
```

Use Test Endpoints
------------------

[](#use-test-endpoints)

```
$client = new Client('MY_STORE_ID', 'MY_API_TOKEN', [
    'env' => Empg\Configuration::ENV_TEST,
]);
```

License
-------

[](#license)

MIT

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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.

###  Release Activity

Cadence

Every ~21 days

Total

2

Last Release

3437d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2244114?v=4)[Ryan Shen](/maintainers/cyveros)[@cyveros](https://github.com/cyveros)

---

Top Contributors

[![yi-FLS](https://avatars.githubusercontent.com/u/5373898?v=4)](https://github.com/yi-FLS "yi-FLS (18 commits)")[![cyveros](https://avatars.githubusercontent.com/u/2244114?v=4)](https://github.com/cyveros "cyveros (13 commits)")[![rynoxo](https://avatars.githubusercontent.com/u/257206189?v=4)](https://github.com/rynoxo "rynoxo (11 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cyphp-empg/health.svg)

```
[![Health](https://phpackages.com/badges/cyphp-empg/health.svg)](https://phpackages.com/packages/cyphp-empg)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M932](/packages/statamic-cms)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M719](/packages/sylius-sylius)[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[currency-cloud/client

A PHP library which implements the complete functionality of v2 of the The Currency Cloud API.

17343.0k](/packages/currency-cloud-client)

PHPackages © 2026

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