2017 © Pedro Peláez
 

symfony-bundle expiryfieldbundle

A Symfony2 Custom field type with month and year selectors which is useful for applications reading Expiry Month and Year inputs such as Credit Card Expiration

image

mindfire/expiryfieldbundle

A Symfony2 Custom field type with month and year selectors which is useful for applications reading Expiry Month and Year inputs such as Credit Card Expiration

  • Friday, January 29, 2016
  • by mindfiresymfony
  • Repository
  • 4 Watchers
  • 1 Stars
  • 348 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 1 Versions
  • 1 % Grown

The README.md

Mindfire ExpiryFieldBundle

A Symfony2 Custom field type with month and year selectors which is useful for applications reading Expiry Month and Year inputs such as Credit Card Expiration., (*1)

Usage

In composer.json, add the repository and the bundle., (*2)

 "require": {
        "mindfire/expiryfieldbundle": "*"
    }

Register the bundle in AppKernel.php, (*3)

new Mindfire\Bundle\ExpiryFieldBundle\MindfireExpiryFieldBundle(),

Add the parameter to specify the object manager:(Default value is doctrine.orm.entity_manager), (*4)

expiry.object_manager_id: doctrine_mongodb.odm.document_manager

In your form type,, (*5)

$builder->add('ccExpiration', 'expiry');

License

This bundle is available under the MIT license., (*6)

The Versions

29/01 2016

dev-master

9999999-dev https://github.com/opensource-mindfire/Mindfire-ExpiryFieldBundle

A Symfony2 Custom field type with month and year selectors which is useful for applications reading Expiry Month and Year inputs such as Credit Card Expiration

  Sources   Download

MIT

The Requires

 

by Ramesh Kedlaya

twig symfony2 only month year date field expiry field mindfire credit card expiry symfony2 date symfony2 symfony2 date widget without day