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

ActiveLibrary

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 2mo ago

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 37% 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

3391d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1c658a73c51e5273bab993263a10cd31e80705e42409a0a4ce14e19f76e02374?d=identicon)[cyveros](/maintainers/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

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[tempest/framework

The PHP framework that gets out of your way.

2.1k23.1k9](/packages/tempest-framework)[bitpay/sdk

Complete version of the PHP library for the new cryptographically secure BitPay API

42337.5k4](/packages/bitpay-sdk)

PHPackages © 2026

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