2017 © Pedro Peláez
 

symfony-bundle iban-bundle

International Bank Account Number form type

image

makinacorpus/iban-bundle

International Bank Account Number form type

  • Wednesday, November 16, 2016
  • by pounard
  • Repository
  • 14 Watchers
  • 2 Stars
  • 2,884 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 35 % Grown

The README.md

International Bank Account Number form type for Symfony

Simply gives you a nice widget for IBAN numbers, please note that it's based on the default bootstrap form theme (any of the normal or horizontal one)., (*1)

Installation

Install the package:, (*2)

composer require makinacorpus/iban-bundle

Register the associated form theme in your app/config.yml file:, (*3)

twig:
    debug:            "%kernel.debug%"
    strict_variables: false
    form_themes:
        # ...
        - "IbanBundle:Form:fields.html.twig"

Usage

The widget has no options. Just add it to your form:, (*4)

    $this->createFormBuilder()
        ->add('iban', IbanType::class, [
            'label'       => "IBAN",
            'required'    => true,
            'constraints' => [
                new Assert\Iban(),
            ],
        ])

Please use the Symfony\Component\Validator\Constraints\Iban class for validation, it does respect the ISO 7064 standard., (*5)

The Versions

16/11 2016

dev-master

9999999-dev http://github.com/makinacorpus/iban-bundle

International Bank Account Number form type

  Sources   Download

GPL-2

The Requires

 

The Development Requires

16/11 2016

1.0.1

1.0.1.0 http://github.com/makinacorpus/iban-bundle

International Bank Account Number form type

  Sources   Download

GPL-2

The Requires

 

The Development Requires

25/10 2016

1.0.0

1.0.0.0 http://github.com/makinacorpus/iban-bundle

International Bank Account Number form type

  Sources   Download

GPL-2

The Requires

 

The Development Requires