meita/saudi-banks
Composer 安装命令:
composer require meita/saudi-banks
包简介
Saudi banks IBAN identifier lookup with Arabic and English names.
README 文档
README
Saudi banks IBAN identifier lookup with English and Arabic names.
The library ships a small, typed dataset of every IBAN bank identifier used in Saudi Arabia, including legacy codes for merged banks. It exposes helpers to list all banks, resolve a bank from a two-digit IBAN identifier, or resolve directly from a full Saudi IBAN string.
Installation
composer require meita/saudi-banks
Usage
use Meita\SaudiBanks\Banks; // Get every bank as value objects $banks = Banks::all(); // Resolve by the two-digit IBAN identifier (positions 5-6 in SA IBANs) $rajhi = Banks::findByIbanIdentifier('80'); // Resolve from a full IBAN (spaces are fine) $fromIban = Banks::findByIban('SA03 8000 0000 6080 1016 7519'); // Export to array for JSON responses header('Content-Type: application/json'); echo json_encode($fromIban->toArray(), JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE);
Data dictionary
Each record contains:
iban_identifier— Two-digit IBAN bank identifier (string to preserve leading zeros).english_name— Formal English name.arabic_name— Formal Arabic name.short_name— Common ticker/short name.active—falsefor legacy identifiers that still exist on old IBANs.notes— Optional context.
Current coverage
| IBAN code | Short | English name | Arabic name | Active |
|---|---|---|---|---|
| 05 | ALINMA | Alinma Bank | مصرف الإنماء | yes |
| 10 | SNB | Saudi National Bank (SNB) | البنك الأهلي السعودي | yes |
| 15 | ALBILAD | Bank Albilad | بنك البلاد | yes |
| 20 | RIYAD | Riyad Bank | بنك الرياض | yes |
| 30 | ANB | Arab National Bank | البنك العربي الوطني | yes |
| 40 | SAMBA | Samba Financial Group (legacy) | مجموعة سامبا المالية | no |
| 45 | SABB | Saudi British Bank (SABB) | البنك السعودي البريطاني | yes |
| 50 | ALAAWWAL | Alawwal Bank (legacy) | البنك الأول | no |
| 55 | BSF | Banque Saudi Fransi | البنك السعودي الفرنسي | yes |
| 60 | BJAZ | Bank AlJazira | بنك الجزيرة | yes |
| 65 | SAIB | The Saudi Investment Bank | البنك السعودي للاستثمار | yes |
| 71 | NBB | National Bank of Bahrain (Saudi Branch) | بنك البحرين الوطني | yes |
| 75 | NBK | National Bank of Kuwait (Saudi Branch) | بنك الكويت الوطني | yes |
| 76 | BMUSCAT | Bank Muscat (Saudi Branch) | بنك مسقط | yes |
| 80 | RAJHI | Al Rajhi Bank | مصرف الراجحي | yes |
| 81 | DEUTSCHE | Deutsche Bank (Saudi Branch) | دويتشه بنك | yes |
| 82 | NBP | National Bank of Pakistan (Saudi Branch) | البنك الوطني الباكستاني | yes |
| 84 | ZIRAAT | Ziraat Bankası (Saudi Branch) | بنك زراعات التركي | yes |
| 85 | BNP | BNP Paribas (Saudi Branch) | بي إن بي باريبا | yes |
| 86 | JPM | JPMorgan Chase Bank (Saudi Branch) | جي بي مورغان تشيس بنك | yes |
| 90 | GIB | Gulf International Bank | بنك الخليج الدولي | yes |
| 95 | ENBD | Emirates NBD (Emirates Bank International) | بنك الإمارات دبي الوطني | yes |
If you spot an omission or change (e.g., new branches or retired identifiers), open a PR or file an issue.
Testing
composer install ./vendor/bin/phpunit
Tests validate uniqueness of identifiers, basic lookup helpers, and a sample IBAN parse.
License
MIT
meita/saudi-banks 适用场景与选型建议
meita/saudi-banks 是一款 基于 HTML 开发的 Composer 扩展包,目前已累计 1 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 12 月 15 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「IBAN」 「lookup」 「banks」 「saudi」 「ksa」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 meita/saudi-banks 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 meita/saudi-banks 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 meita/saudi-banks 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
GeoMate is a friend in need for all things geolocation. IP to geo lookup, automatic redirects (based on country, continent, language, etc), site switcher... You name it.
This package parses and validates International Bank Account Number (IBAN).
PHP Bank Accounts validator, info and more...
Bankly API Wrapper
Yii2 lookup module
PHP IBAN - This library provides a converter for account number, bank code and IBAN.
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 33
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-15