batmage/credit-card-validator
Composer 安装命令:
composer require batmage/credit-card-validator
包简介
A simple credit card validator using the Luhn algorithm
README 文档
README
A simple PHP module to validate credit card numbers using the Luhn algorithm (by default).
Installation
Require in your project with composer:
composer require batmage/credit-card-validator ^1.0
Usage
An example use:
$validator = new \Batmage\CreditCardValidator\Validator; $result = $validator->validate('4111 1111 1111 1111'); // bool(true)
License
MIT license. See LICENSE.md for more information.
统计信息
- 总下载量: 42
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-07-25