-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Your Name
committed
Jun 4, 2020
1 parent
1667fe0
commit 3bf9dff
Showing
3 changed files
with
51 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,22 @@ | ||
# README # | ||
# Valid and Dedect bank cards # | ||
|
||
This README would normally document whatever steps are necessary to get your application up and running. | ||
Utility to valid and determine bank card type by stgit90 | ||
|
||
### What is this repository for? ### | ||
### Installation ### | ||
``` | ||
composer require | ||
``` | ||
|
||
* Quick summary | ||
* Version | ||
* [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo) | ||
|
||
### How do I get set up? ### | ||
### Usage ### | ||
|
||
* Summary of set up | ||
* Configuration | ||
* Dependencies | ||
* Database configuration | ||
* How to run tests | ||
* Deployment instructions | ||
``` | ||
require "/vendor/autoload.php"; | ||
use CardValidDetect\ValidDetect; | ||
### Contribution guidelines ### | ||
|
||
* Writing tests | ||
* Code review | ||
* Other guidelines | ||
|
||
### Who do I talk to? ### | ||
|
||
* Repo owner or admin | ||
* Other community or team contact | ||
$detector = new ValidDetect(); | ||
$card = '4916847576752405'; | ||
if($detector->detect('4916847576752405')->isValid()){ | ||
echo $detector->getType() //Visa | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters