About BAV-Symfony
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