https://github.com/mhunesi/yii2-binlist
Yii2 Binlist (Türkiye Bankaları)
https://github.com/mhunesi/yii2-binlist
binlist extension turkey yii2
Last synced: about 1 month 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-26T14:12:31.000Z (over 4 years ago)
- Last Synced: 2025-07-10T21:40:10.278Z (11 months ago)
- Topics: binlist, extension, turkey, yii2
- Language: PHP
- Homepage:
- Size: 157 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Yii2 Binlist (Turkey Banks)
============
Yii2 Binlist Model
Bin 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.";
}
```