bav / symfony
Symfony Validator Component extension for German banking
Installs: 2 829
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5
- malkusch/bav: ~1.0
- symfony/symfony: ~2.3
Requires (Dev)
- phpunit/phpunit: >=4
This package is not auto-updated.
Last update: 2017-11-17 20:15:42 UTC
README
BAV-Symfony are Symfony constraints for German bank validation. For more information about BAV and its configuration visit http://bav.malkusch.de/.
Installation
Use Composer:
{ "require": { "bav/symfony": "~1.0" } }
Configuration
You can use BAV with its default configuration. The default configuration
needs the directory vendor/malkusch/bav/data/
writable.
Only @Bic
is not recommended to use with that default configuration.
Use a configuration with one of the following DataBackendContainer
implementations:
- PDODataBackendContainer
- DoctrineBackendContainer
You can configure BAV by providing the file vendor/malkusch/bav/configuration.php
:
namespace malkusch\bav; $configuration = new DefaultConfiguration(); $pdo = new \PDO("mysql:host=localhost;dbname=test"); $configuration->setDataBackendContainer(new PDODataBackendContainer($pdo)); return $configuration;
Usage
-
@Bic
: Constraint for a German BIC (Bank Identifier Code). -
@Blz
: Constraint for a German bank id (Bankleitzahl). -
@Konto
: Constraint for a German bank account.
License and authors
This project is free and under the WTFPL-2.0 (see License). Responsable for this project is Markus Malkusch markus@malkusch.de.
Donations
If you like BAV-Symfony and feel generous donate a few Bitcoins here: 1335STSwu9hST4vcMRppEPgENMHD2r1REK