Skip to content

Free source to check, verify & validate BIN (Bank Identification Number), credit, debit, charge or a prepaid card.

License

Notifications You must be signed in to change notification settings

dwisiswant0/cekBin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cekBin

release license contributions hits

Free source to check, verify & validate BIN (Bank Identification Number), credit, debit, charge or a prepaid card.

cekBin Example



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.

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.
  2. Fork the repository on GitHub to start making your changes.
  3. Write one or more tests for the new feature or that expose the bug.
  4. Make code changes to implement the feature or fix the bug.
  5. Send a pull request to get your changes merged and published.

About

Free source to check, verify & validate BIN (Bank Identification Number), credit, debit, charge or a prepaid card.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages