{"id":15293864,"url":"https://github.com/nembie/iban-rule","last_synced_at":"2025-04-13T13:30:57.595Z","repository":{"id":152744628,"uuid":"626996985","full_name":"Nembie/iban-rule","owner":"Nembie","description":"IBAN Rule is a Laravel package that provides a validation rule for IBANs","archived":false,"fork":false,"pushed_at":"2024-05-30T14:07:41.000Z","size":32,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T09:57:08.108Z","etag":null,"topics":["banking","finance","iban","laravel","laravel-framework","php","rule","rules","validation"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nembie.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-12T15:17:35.000Z","updated_at":"2024-11-18T15:56:15.000Z","dependencies_parsed_at":"2024-05-30T16:27:18.621Z","dependency_job_id":"51b2be7b-6706-4aa6-9299-996749b0395c","html_url":"https://github.com/Nembie/iban-rule","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nembie%2Fiban-rule","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nembie%2Fiban-rule/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nembie%2Fiban-rule/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nembie%2Fiban-rule/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nembie","download_url":"https://codeload.github.com/Nembie/iban-rule/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248720983,"owners_count":21151021,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["banking","finance","iban","laravel","laravel-framework","php","rule","rules","validation"],"created_at":"2024-09-30T16:53:31.956Z","updated_at":"2025-04-13T13:30:57.306Z","avatar_url":"https://github.com/Nembie.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 🏦 IBAN Validation Rule for Laravel\n\n[![GitHub](https://img.shields.io/github/license/Nembie/iban-rule?style=flat-square)](LICENSE)\n[![GitHub issues](https://img.shields.io/github/issues/Nembie/iban-rule?style=flat-square)](Issues)\n[![Packagist Downloads](https://img.shields.io/packagist/dt/Nembie/iban-rule?style=flat-square)](Downloads)\n[![GitHub Release](https://img.shields.io/github/v/release/Nembie/iban-rule?style=flat-square)](Release)\n\nThis package provides a custom validation rule for Laravel to validate International Bank Account Numbers (IBANs). It uses the validation rules defined by the Single Euro Payments Area (SEPA) and other non-SEPA countries to ensure that the given IBAN is valid.\n\n### 🧰 Requirements\n- ```PHP \u003e= 8.1```\n- ```Laravel \u003e= 10```\n\n### ⚙️ Installation\nYou can install this package using Composer:\n\n```composer require nembie/iban-rule```\n\n\n### 👾 Usage\n\nTo use the IBAN validation rule, simply add it to your Laravel validation rules. Here's an example:\n\n\n```php\nuse Illuminate\\Http\\Request;\nuse Nembie\\IbanRule\\ValidIban;\n\n\npublic function store(Request $request)\n{\n    $request-\u003evalidate([\n        'iban' =\u003e ['required', new ValidIban()],\n    ]);\n\n    // The rest of your code\n}\n```\n\n### 👽 Customize error message\n\nYou can use your own validation message (by default will be ```The :attribute is not a valid IBAN.```).\n\n\u003e :warning: **If you don't have these folders** use ```php artisan lang:publish```\n\nSimply:\n```bash\n# Path\n\\main_folder_project\n    \\lang\n        \\app_language(ex.'en')\n            validation.php\n\n# Add 'iban' key\n\u003c?php\n    // validation.php inside 'it' folder\n\n    'iban' =\u003e 'IBAN non valido.'\n\n\n# Now you're validation message will be translated!\n```\n\n### 🔐 Validation Rules\nThis package uses the validation rules defined by the Single Euro Payments Area (SEPA) and other non-SEPA countries to ensure that the given IBAN is valid. The validation rules are loaded from a `countries.json` file that is included in this package.\n\n### 🤝 Contribution\nIf you find any issues or have suggestions for improvements, feel free to open a pull request or issue. Your contribution is highly appreciated.\n\n### 🌍 Supported countries\n\n[Full list of supported countries](https://github.com/Nembie/nova-iban-field/blob/master/COUNTRIES.md)\n\n### 🔨 Test\n\n```composer test```\n\n### 📝 License\n\nThis package is open-sourced software licensed under the [MIT license](https://github.com/Nembie/iban-rule/blob/main/LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnembie%2Fiban-rule","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnembie%2Fiban-rule","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnembie%2Fiban-rule/lists"}