tpweb/iban
Larablocks Analysis
tpweb/iban works with Laravel 5 to 8 (latest release 1.2.0, Oct 1, 2020), all past end of life (the last on Jan 24, 2023): no more fixes, even for security.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- Supports only Laravel 5 to 8, past end of life since Jan 24, 2023
- No release in the last 12 months (last: Oct 1, 2020)
- 20 downloads a month (needs 10,000)
- 2 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Oct 1, 2020.
- No releases in the last 12 months.
- First released: Jun 1, 2016.
- Monthly downloads: 20.
- 1 open issue on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.
| Install | |
|---|---|
composer require tpweb/iban |
|
| Latest Version: | 1.2.0 |
| PHP: | >=7.2 |
| Laravel: | 5 – 8 |
| License: | LGPL |
| Last Updated: | Oct 1, 2020 |
| Links: | GitHub · Packagist |
PHP IBAN & BIC Library
#Installation
Require this package in your composer.json and update composer.
"tpweb/iban": "~1.*"
After updating composer, add the ServiceProvider to the providers array in config/app.php
TPWeb\Iban\IbanServiceProvider::class,
You can use the facade for shorter code. Add this to your aliases:
'Iban' => TPWeb\Iban\IbanFacade::class,
Documentation
Validation
$ibannr = "BE....";
$iban = new Iban($ibannr);
if($iban->isIbanValid()) {
echo "IBAN is valid";
}
Laraval validator
public function store(Request $request) {
$this->validate($request, ['ibannumber' => 'required|iban', 'bicnumber' => 'required|bic']);
}
Calculation (Only BE en NL)
$ibannr = "BE....";
$iban = new Iban($ibannr);
$bic = $iban->calculateBic();
The complete documentation can be found at: http://www.tpweb.org/my-projects/php-iban-library/
Countries Supported
The following 99 official and unofficial IBAN countries are supported.
- Albania (AL)
- Algeria (DZ)
- Andorra (AD)
- Angola (AO)
- Austria (AT)
- Azerbaijan (AZ)
- Bahrain (BH)
- Belgium (BE)
- Benin (BJ)
- Bosnia and Herzegovina (BA)
- Brazil (BR)
- British Virgin Islands (VG)
- Bulgaria (BG)
- Burkina Faso (BF)
- Burundi (BI)
- Cameroon (CM)
- Cape Verde (CV)
- Costa Rica (CR)
- Côte d'Ivoire (CI)
- Croatia (HR)
- Cyprus (CY)
- Czech Republic (CZ)
- Denmark (DK)
- Faroe Islands (FO)
- Greenland (GL)
- Dominican Republic (DO)
- Estonia (EE)
- Finland (FI)
- Åland Islands (AX)
- France (FR)
- French Guiana (GF)
- French Polynesia (PF)
- French Southern Territories (TF)
- Guadelope (GP)
- Martinique (MQ)
- Mayotte (YT)
- New Caledonia (NC)
- Réunion (RE)
- Saint Barhélemy (BL)
- Saint Martin (French Part) (MF)
- Saint-Pierre and Miquelon (PM)
- Wallis and Futuna (WF)
- Georgia (GE)
- Germany (DE)
- Gibraltar (GI)
- Greece (GR)
- Guatemala (GT)
- Hungary (HU)
- Iceland (IS)
- IIBAN (Internet) (AA)
- Iran (IR)
- Ireland (IE)
- Israel (IL)
- Italy (IT)
- Jordan (JO)
- Kazakhstan (KZ)
- Kosovo (XK)
- Kuwait (KW)
- Latvia (LV)
- Lebanon (LB)
- Liechtenstein (LI)
- Lithuania (LT)
- Luxembourg (LU)
- Macedonia (MK)
- Madagascar (MG)
- Mali (ML)
- Malta (MT)
- Mauritania (MR)
- Mauritius (MU)
- Moldova (MD)
- Monaco (MC)
- Montenegro (ME)
- Mozambique (MZ)
- Netherlands (NL)
- Norway (NO)
- Pakistan (PK)
- Palestine (PS)
- Poland (PL)
- Portugal (PT)
- Qatar (QA)
- Romania (RO)
- Saint Lucia (LC)
- San Marino (SM)
- São Tomé and Príncipe (ST)
- Saudi Arabia (SA)
- Senegal (SN)
- Serbia (RS)
- Seychelles (SC)
- Slovakia (SK)
- Slovenia (SI)
- Spain (ES)
- Sweden (SE)
- Switzerland (CH)
- Timor-Leste (TL)
- Tunisia (TN)
- Turkey (TR)
- Ukraine (UA)
- United Arab Emirates (AE)
- United Kingdom (GB)
Support
Support github or mail: tjebbe.lievens@madeit.be
Contributing
Please try to follow the psr-2 coding style guide. http://www.php-fig.org/psr/psr-2/ t
License
This package is licensed under LGPL. You are free to use it in personal and commercial projects. The code can be forked and modified, but the original copyright author should always be included!
Related Packages
Italian-first PII redaction pipeline for Laravel: deterministic regex + checksum...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 1.2.0 | >=7.2 | 5.*| | LGPL | |
| 1.1.0 | >=5.6 | 5.* | LGPL | |
| 1.0.2 | >=5.6 | ~5.0 | LGPL | |
| 1.0.0 | >=5.6 | ~5.0 | LGPL |