PHP Classes

IRBin: Identify Iran bank issuer from card number

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 72%Total: 75 All time: 10,180 This week: 560Up
Version License PHP version Categories
irbin 1.0GNU Free Document...4E-Commerce
Description 

Author

This package is specific mainly for applications used in Iran Iran .

This class can identify Iran bank issuer from card number.

It takes the first digits of a debit card number and determine the card information.

Currently it returns the card issuer bank only.

Picture of Keivan Sohrabloo
  Performance   Level  
Name: Keivan Sohrabloo <contact>
Classes: 2 packages by
Country: Iran Iran
Age: 34
All time rank: 426988 in Iran Iran
Week rank: 97 Up4 in Iran Iran Up

Example

<?php
require_once('IRBIN.class.php');

/**
 * IRBIN
 *
 * IRBIN Test Example
 *
 * Copyright 2015 Keivan Sohrabloo
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * @category BinList
 * @package IRBinList
 * @copyright Copyright 2016 Keivan Sohrabloo
 * @license http://www.apache.org/licenses/LICENSE-2.0
 * @version 1.0.0, 2016-06-10
 * @author Keivan Sohrabloo (k.sohrabloo.k@gmail.com)
 */
 
 
$test2=new IRBIN;
 
var_dump($test2->getinfo("603799"));
 
 
/*
 Result:
 array(2) {
  ["BIN"]=>
  string(6) "603799"
  ["BANK"]=>
  string(26) "???? ??? ?????"
}

 
 */
 
?>


Details

Usage

require_once('IRBIN.class.php');

Example


 $test2=new IRBIN;
 var_dump($test2->getinfo("603799"));

Notes

This library can identify only 43 banks.


  Files folder image Files  
File Role Description
Plain text file IRBIN.Class.php Class Class Source
Accessible without login Plain text file IRBINTest.php Example Example File
Accessible without login Plain text file Readme.md Doc. Readme

 Version Control Unique User Downloads Download Rankings  
 0%
Total:75
This week:0
All time:10,180
This week:560Up
 User Ratings  
 
 All time
Utility:91%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:83%StarStarStarStarStar
Examples:91%StarStarStarStarStar
Tests:-
Videos:-
Overall:72%StarStarStarStar
Rank:185