Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jongotlin/bankaccountbundle
Symfony bundle to validate (and format) swedish bank account numbers
https://github.com/jongotlin/bankaccountbundle
Last synced: 15 days 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-23T14:22:44.000Z (almost 3 years ago)
- Last Synced: 2024-12-04T07:07:23.660Z (about 1 month 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;
```