https://github.com/jongotlin/bankaccountbundle
Symfony bundle to validate (and format) swedish bank account numbers
https://github.com/jongotlin/bankaccountbundle
Last synced: 3 months ago
JSON representation
Symfony bundle to validate (and format) swedish bank account numbers
- Host: GitHub
- URL: https://github.com/jongotlin/bankaccountbundle
- Owner: jongotlin
- License: mit
- Created: 2019-05-20T08:43:10.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-23T14:22:44.000Z (over 3 years ago)
- Last Synced: 2025-03-16T18:34:47.356Z (4 months ago)
- Language: PHP
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BankAccountBundle
This Symfony Bundle uses [github.com/byrokrat/banking](https://github.com/byrokrat/banking) to validate swedish bank account numbers.
## Install
Via Composer
```bash
$ composer require jongotlin/bank-account-bundle
``````php
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
// ...
new JGI\BankAccountBundle\BankAccountBundle(),
}
}
}
```## Usage
```php
use JGI\BankAccountBundle\Validator\Constraints as BankAccountAssert;/**
* @BankAccountAssert\BankAccount
*/
private $bankAccount;
```