https://github.com/mhunesi/yii2-binlist
Yii2 Binlist (Türkiye Bankaları)
https://github.com/mhunesi/yii2-binlist
binlist extension turkey yii2
Last synced: 3 months ago
JSON representation
Yii2 Binlist (Türkiye Bankaları)
- Host: GitHub
- URL: https://github.com/mhunesi/yii2-binlist
- Owner: mhunesi
- Created: 2022-01-14T15:01:44.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-26T14:12:31.000Z (over 3 years ago)
- Last Synced: 2024-04-19T08:43:09.271Z (over 1 year ago)
- Topics: binlist, extension, turkey, yii2
- Language: PHP
- Homepage:
- Size: 157 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Yii2 Binlist (Turkey Banks)
============
Yii2 Binlist ModelBin listesi garanti bankasından ve diğer bankalardan alınan bilgiler ile birleştirilmiştir.
Installation
------------The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
Either run
```
php composer.phar require --prefer-dist mhunesi/yii2-binlist "*"
```or add
```
"mhunesi/yii2-binlist": "*"
```to the require section of your `composer.json` file.
Usage
-----Once the extension is installed, simply use it in your code by :
```php
$model = Binlist::find()->bin('489458');if($model && $model->isCreditCard()){
echo "Taksit yapılabilir.";
}```