bav/symfony

This package is abandoned and no longer maintained. No replacement package was suggested.

Symfony Validator Component extension for German banking

1.0.0 2014-06-29 18:05 UTC

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

Build Status