Giter VIP home page Giter VIP logo

cekbin's Introduction

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.

cekbin's People

Contributors

dwisiswant0 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.