dukim/php-emv
最新稳定版本:v1.1
Composer 安装命令:
composer require dukim/php-emv
包简介
A collection of EMV tools and utilities for PHP 5.3+ (fork of Massimo Lombardo's project)
README 文档
README
A collection of EMV tools and utilities for PHP 5.3+
This is a fork of Massimo Lombardo's project
Installation
The recommended way to install PHP EMV is through Composer:
{
"require": {
"billpocket/php-emv": "@stable"
}
}
$ composer install
Basic Usage
For parse from string (codec by HEX):
{
use \EMV\Codec;
$codecObj = new Codec();
$codecObj->unserialize($hexTLV); //this returns an array
}
Testing
PHP EMV comes with a full-fledged test suite. To run it, install PHPUnit via Composer:
$ composer install --dev $ php vendor/bin/phpunit
Contributing
Here are a few basic rules so that nobody gets grumpy:
- every pull request MUST follow the basic coding standars, the coding style guide and, where applicable, the improved autoloding recommendations by the PHP-FIG.
- 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
- the pull request branch MUST be rebased against the latest
masterbranch - useless commits MUST be squashed
Credits
- Massimo Lombardo, original author
- Open source community
License
PHP EMV is released under the MIT license. See the bundled LICENSE file for details.
统计信息
- 总下载量: 9.36k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-09-16