https://github.com/dwisiswant0/cekbin
Free source to check, verify & validate BIN (Bank Identification Number), credit, debit, charge or a prepaid card.
https://github.com/dwisiswant0/cekbin
bank bank-card checker credit-card creditcard php validation verify
Last synced: over 1 year ago
JSON representation
Free source to check, verify & validate BIN (Bank Identification Number), credit, debit, charge or a prepaid card.
- Host: GitHub
- URL: https://github.com/dwisiswant0/cekbin
- Owner: dwisiswant0
- License: mit
- Created: 2018-01-23T04:40:04.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-18T08:23:10.000Z (over 7 years ago)
- Last Synced: 2024-05-01T17:25:13.243Z (about 2 years ago)
- Topics: bank, bank-card, checker, credit-card, creditcard, php, validation, verify
- Language: PHP
- Size: 7.81 KB
- Stars: 24
- Watchers: 6
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cekBin
[](https://github.com/dwisiswant0/cekBin/releases/)
[](https://github.com/dwisiswant0/cekBin/blob/master/LICENSE)
[](https://github.com/dwisiswant0/cekBin/issues)
[](http://hits.dwyl.com/dwisiswant0/cekBin)
Free source to check, verify & validate BIN (Bank Identification Number), credit, debit, charge or a prepaid card.

---
- [Installation](#installation)
- [Requirements](#requirements)
- [Quick Start and Examples](#quick-start-and-examples)
- [Run Tests](#run-tests)
- [Contribute](#contribute)
---
### Installation
To install cekBin, simply:
$ composer require dwisiswant0/cekBin
For latest commit version:
$ composer require dwisiswant0/cekBin @dev
### Requirements
cekBin works with PHP 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, and HHVM.
### Quick Start and Examples
Examples are available under [/examples](https://github.com/dwisiswant0/cekBin/tree/master/examples).
```php
require_once(dirname(__DIR__) . "/vendor/autoload.php");
$bin = "444444"; // first six digits of a credit card
$cekBin = new \dwisiswant0\cekBin();
$check = $cekBin->check($bin);
var_dump($check);
```
### Run Tests
To run tests:
$ git clone https://github.com/dwisiswant0/cekBin.git
$ cd cekBin/
$ composer update
$ cd examples/
$ php check.php
### Contribute
1. Check for open issues or open a new issue to start a discussion around a bug or feature.
1. Fork the repository on GitHub to start making your changes.
1. Write one or more tests for the new feature or that expose the bug.
1. Make code changes to implement the feature or fix the bug.
1. Send a pull request to get your changes merged and published.