PHPackages                             billpocket/php-emv - 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. billpocket/php-emv

ActiveLibrary

billpocket/php-emv
==================

A collection of EMV tools and utilities for PHP 5.3+ (fork of Massimo Lombardo's project)

032.5k↓100%4PHP

Since Jul 26Pushed 7y ago2 watchersCompare

[ Source](https://github.com/Billpocket/php-emv)[ Packagist](https://packagist.org/packages/billpocket/php-emv)[ RSS](/packages/billpocket-php-emv/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

PHP EMV
=======

[](#php-emv)

A collection of EMV tools and utilities for PHP 5.3+

**This is a fork of Massimo Lombardo's [project](https://github.com/unwiredbrain/php-emv)**

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

[](#installation)

The recommended way to install PHP EMV is through [Composer](https://getcomposer.org/):

```
{
    "require": {
        "billpocket/php-emv": "@stable"
    }
}
```

```
$ composer install
```

Basic Usage
-----------

[](#basic-usage)

For parse from string (codec by HEX):

```
{
    use \EMV\Codec;

    $codecObj = new Codec();

    $codecObj->unserialize($hexTLV); //this returns an array

}
```

Testing
-------

[](#testing)

PHP EMV comes with a full-fledged test suite. To run it, install [PHPUnit](http://phpunit.de/) via [Composer](https://getcomposer.org/):

```
$ composer install --dev
$ php vendor/bin/phpunit
```

Contributing
------------

[](#contributing)

Here are a few basic rules so that nobody gets grumpy:

- every pull request MUST follow the [basic coding standars](http://www.php-fig.org/psr/psr-1), the [coding style guide](http://www.php-fig.org/psr/psr-2) and, where applicable, the [improved autoloding](http://www.php-fig.org/psr/psr-4) recommendations by the [PHP-FIG](http://www.php-fig.org/).
- the unit tests MUST be written or updated
- the test suite MUST succeed entirely
- the documentation MUST be written or updated
- commit messages MUST [make sense](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
- the pull request branch MUST be [rebased](http://git-scm.com/book/en/Git-Branching-Rebasing) against the latest `master` branch
- useless commits MUST be [squashed](http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html)

Credits
-------

[](#credits)

- [Massimo Lombardo](https://github.com/unwiredbrain), original author
- [Open source community](https://github.com/unwiredbrain/emv-utils/graphs/contributors)

License
-------

[](#license)

PHP EMV is released under the MIT license. See the bundled `LICENSE` file for details.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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/33bc6a48a3b3369ff58c8df5488c9139e00be4ae2e8293ae62d87b50a4355deb?d=identicon)[KingTchalla](/maintainers/KingTchalla)

---

Top Contributors

[![unwiredbrain](https://avatars.githubusercontent.com/u/66809?v=4)](https://github.com/unwiredbrain "unwiredbrain (6 commits)")[![KingTchalla](https://avatars.githubusercontent.com/u/41702549?v=4)](https://github.com/KingTchalla "KingTchalla (2 commits)")[![vicmac](https://avatars.githubusercontent.com/u/1328750?v=4)](https://github.com/vicmac "vicmac (1 commits)")

### Embed Badge

![Health badge](/badges/billpocket-php-emv/health.svg)

```
[![Health](https://phpackages.com/badges/billpocket-php-emv/health.svg)](https://phpackages.com/packages/billpocket-php-emv)
```

PHPackages © 2026

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