Download the PHP package emadshirzad/iranian-bank-list-laravel without Composer
On this page you can find all versions of the php package emadshirzad/iranian-bank-list-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download emadshirzad/iranian-bank-list-laravel
More information about emadshirzad/iranian-bank-list-laravel
Files in emadshirzad/iranian-bank-list-laravel
Package iranian-bank-list-laravel
Short Description list all banks into laravel
License MIT
Homepage https://github.com/EmadShirzad/iranian-bank-list-laravel
Informations about the package iranian-bank-list-laravel
Iranian Bank List for Laravel
A comprehensive Laravel package for Iranian banking operations including bank identification, IBAN validation, and card number verification.
Features
- Complete list of Iranian banks with details
- IBAN validation using mod-97 algorithm
- Iranian card number validation using Luhn algorithm
- Bank identification by IBAN, card number, or name
- FilamentPHP integration support
- Easy-to-use facade and model interfaces
Installation
-
Install the package via Composer:
-
Publish the configuration file:
-
Run the migration to create the banks table:
- Seed the database with bank data:
Usage
Getting All Banks
Bank Identification
Get bank details by IBAN:
Get bank details by card number:
Find bank by name:
Advanced Search Methods
Find bank by full card number using regex:
Find bank by full IBAN using regex:
Validation Methods
Validate IBAN:
Validate Iranian card number using Luhn algorithm:
Validate IBAN checksum using mod-97 algorithm:
FilamentPHP Integration
If you're using FilamentPHP, you can easily create an admin interface for the bank data:
-
Create a Filament resource:
-
Update the resource file at
app/Filament/Resources/IranianBankResource.php
using the package methods. - Example implementation can be found in the FilamentResource example file.
The FilamentPHP integration provides a clean admin interface for managing Iranian bank data:
Documentation
For detailed FilamentPHP usage, refer to the official FilamentPHP documentation.
Requirements
- PHP >= 8.0
- Laravel >= 9.0
License
This package is open-sourced software licensed under the MIT License.
Contributing
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
Support
If you encounter any issues or have questions, please open an issue on GitHub.
Author
Made with ❤️ for the Laravel community