jongotlin / bank-account-bundle
Installs: 5 955
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.0
- byrokrat/banking: ^2.2
- symfony/framework-bundle: ^2.7|^3.0|^4.0|^5.0
Requires (Dev)
- phpunit/phpunit: ^6.0
- symfony/validator: ^3.2
README
This Symfony Bundle uses github.com/byrokrat/banking to validate swedish bank account numbers.
Install
Via Composer
$ composer require jongotlin/bank-account-bundle
class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new JGI\BankAccountBundle\BankAccountBundle(), } } }
Usage
use JGI\BankAccountBundle\Validator\Constraints as BankAccountAssert; /** * @BankAccountAssert\BankAccount */ private $bankAccount;