PHPackages                             openbuildings/emp - 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. [Payment Processing](/categories/payments)
4. /
5. openbuildings/emp

Abandoned → [clippings/omnipay-emp](/?search=clippings%2Fomnipay-emp)ArchivedLibrary[Payment Processing](/categories/payments)

openbuildings/emp
=================

Payments for eMerchantPay (EMP) https://www.emerchantpay.com/

0.1.11(11y ago)14.3kBSD-3-ClausePHPPHP &gt;=5.3.0

Since Aug 28Pushed 11y agoCompare

[ Source](https://github.com/OpenBuildings/emp)[ Packagist](https://packagist.org/packages/openbuildings/emp)[ Docs](https://github.com/OpenBuildings/emp)[ RSS](/packages/openbuildings-emp/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)DependenciesVersions (13)Used By (0)

Emp
===

[](#emp)

[![Build Status](https://camo.githubusercontent.com/c99fcf6fd7e08e87edefc27e7012c93088327aec32f8519e961fa409245add0b/68747470733a2f2f7472617669732d63692e6f72672f4f70656e4275696c64696e67732f656d702e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/OpenBuildings/emp)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/a7b20cdd2100765a2d4f273bab739dadc21da929b7ec0f9abd8d075f4852f991/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4f70656e4275696c64696e67732f656d702f6261646765732f7175616c6974792d73636f72652e706e673f733d63383030383233333437613365313164623162353465353536393033666237666137663830656362)](https://scrutinizer-ci.com/g/OpenBuildings/emp/)[![Code Coverage](https://camo.githubusercontent.com/e828ab55bb6f3a872cdee68f80f58f63a52ea66fa14f8d5df1828a1ffde5953f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4f70656e4275696c64696e67732f656d702f6261646765732f636f7665726167652e706e673f733d62373138353066353432303065363234653435613136336331366238303665373566616263353464)](https://scrutinizer-ci.com/g/OpenBuildings/emp/)[![Latest Stable Version](https://camo.githubusercontent.com/819f310ccfa1167bad509ec5b43526ce4164cafa03591afd129c763b808baeab/68747470733a2f2f706f7365722e707567782e6f72672f6f70656e6275696c64696e67732f656d702f762f737461626c652e706e67)](https://packagist.org/packages/openbuildings/emp)

This is an api for accessing eMerchantPay services

A quick example
---------------

[](#a-quick-example)

```
use OpenBuildings\Emp\Api;

$api = new Api('https://my.emerchantpay.com', CLIENT_ID, API_KEY);

$response = $api->request('/service/order/submit', array(
	'payment_type' => 'creditcard',
	'test_transaction' => 1,
));

print_r($response);
```

Using static instance
---------------------

[](#using-static-instance)

You usually want to have this api configured once, then used everywhere with that config. To do that, you can use the configure / instance static methods

```
use OpenBuildings\Emp\Api;

Api::configure('https://my.emerchantpay.com', CLIENT_ID, API_KEY);

// ...

Api::instance();
```

Threat matrix
-------------

[](#threat-matrix)

To enable threat matrix security you need to use Threatmatrix class. First in the page where the form of the request is displayed (right before the api request) you'll need to have this:

```
use OpenBuildings\Emp\Api;

$thm = new Threatmatrix(ORG_ID, CLIENT_ID);

// Save the current Threatmatrix in the session
Session::set('thm', $thm);

// Use this somewhere in your views
echo $thm->tracking_code();
```

After that, to perform an api request, add thm to the api instance, like this

```
use OpenBuildings\Emp\Api;

$api = new Api('https://my.emerchantpay.com', CLIENT_ID, API_KEY);
$thm = Session::get('thm');

$response = $api
	->threatmatrix($thm)
	->request('/service/order/submit', array(
		'payment_type' => 'creditcard',
		'test_transaction' => 1,
	));

print_r($response);
```

License
-------

[](#license)

Copyright (c) 2012-2013, OpenBuildings Ltd. Developed by Ivan Kerin as part of [clippings.com](http://clippings.com)

Under BSD-3-Clause license, read LICENSE file.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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.

###  Release Activity

Cadence

Every ~36 days

Recently: every ~84 days

Total

12

Last Release

4243d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/506129?v=4)[Harry Dobrev](/maintainers/hkdobrev)[@hkdobrev](https://github.com/hkdobrev)

![](https://avatars.githubusercontent.com/u/4113307?v=4)[Danail Kyosev](/maintainers/dkyosev)[@dkyosev](https://github.com/dkyosev)

![](https://avatars.githubusercontent.com/u/7592650?v=4)[Evstati Zarkov](/maintainers/EZarkov)[@EZarkov](https://github.com/EZarkov)

![](https://avatars.githubusercontent.com/u/745771?v=4)[Filip Georgiev](/maintainers/phgeorgiev)[@phgeorgiev](https://github.com/phgeorgiev)

![](https://avatars.githubusercontent.com/u/490439?v=4)[Zdravko Evstatiev](/maintainers/zedevs)[@zedevs](https://github.com/zedevs)

---

Top Contributors

[![ivank](https://avatars.githubusercontent.com/u/4976?v=4)](https://github.com/ivank "ivank (9 commits)")[![hkdobrev](https://avatars.githubusercontent.com/u/506129?v=4)](https://github.com/hkdobrev "hkdobrev (3 commits)")

---

Tags

moneypaymentscredit cardsEMPeMerchantPay

### Embed Badge

![Health badge](/badges/openbuildings-emp/health.svg)

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

###  Alternatives

[amzn/amazon-pay-sdk-php

Amazon Pay SDK (PHP)

20512.1M3](/packages/amzn-amazon-pay-sdk-php)[unicodeveloper/laravel-paystack

A Laravel Package for Paystack

650975.6k11](/packages/unicodeveloper-laravel-paystack)[ignited/laravel-omnipay

Integrates Omnipay with Laravel and provides an easy configuration.

5211.1M12](/packages/ignited-laravel-omnipay)[recurly/recurly-client

The PHP client library for the Recurly API

1736.3M7](/packages/recurly-recurly-client)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

768.0M9](/packages/chargebee-chargebee-php)

PHPackages © 2026

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