jongotlin/bank-account-bundle

Installs: 6 054

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:symfony-bundle

1.2.1 2022-02-23 14:22 UTC

This package is auto-updated.

Last update: 2024-10-23 20:36:44 UTC


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;