2017 © Pedro Peláez
 

library form-bundle

A collection of useful form types and extensions for Symfony2

image

infinite-networks/form-bundle

A collection of useful form types and extensions for Symfony2

  • Friday, May 12, 2017
  • by merk
  • Repository
  • 20 Watchers
  • 137 Stars
  • 139,513 Installations
  • PHP
  • 5 Dependents
  • 0 Suggesters
  • 32 Forks
  • 17 Open issues
  • 16 Versions
  • 7 % Grown

The README.md

InfiniteFormBundle

A collection of useful form types and extensions for Symfony., (*1)

See the form demo project for working examples., (*2)

Installation

Installation instructions can be found here., (*3)

PolyCollection

The PolyCollection form type allows you to create a collection type on a property where the relationship is to a polymorphic object structure like Doctrine2's Single or Multi table inheritance., (*4)

For example, if you had an Invoice entity that had a relationship to an entity that was using Doctrine inheritance InvoiceLine and you wanted to define multiple InvoiceLine types depending on what you wanted to invoice like InvoiceProductLine, InvoiceShippingLine and InvoiceDiscountLine you could use this form type to achieve a form collection that would support all 4 types of InvoiceLine inside the same collection., (*5)

For more information see the PolyCollection Documentation., (*6)

Collection Helper

InfiniteFormBundle supplies some helper javascript for working with form collections. It supports both the standard Symfony2 collection type and the PolyCollection type supplied by this bundle., (*7)

For more information see the Collection Helper Documentation., (*8)

CheckboxGrid

The CheckboxGrid form type allows editing many-to-many relationships with a grid of checkboxes. It has handy shortcuts for Doctrine entities but can also be used with arrays of regular objects., (*9)

For example, a company might sell multiple products, and operate in different areas. Any of its salesmen could sell any combination of products in areas. The salesman form needs a table of checkboxes where the rows are products and the columns are areas (or vice versa!), (*10)

For more information see the CheckboxGrid Documentation., (*11)

EntitySearch

EntitySearchType is an alternative to Symfony's built-in EntityType. Instead of loading all entities into a drop-down list, it renders a single text field that loads autocomplete suggestions through an AJAX callback., (*12)

AJAX callback not included., (*13)

For more information see the EntitySearch Documentation., (*14)

Attachment

AttachmentType is an alternative to Symfony's built-in FileType., (*15)

For more information see the Attachment Documentation., (*16)

Twig Helper

InfiniteFormBundle comes with a Twig extension that adds form specific helpers for use when rendering templates., (*17)

For more information see the Twig Helper., (*18)

The Versions

10/12 2013

1.0.0-alpha2

1.0.0.0-alpha2

A collection of useful form types and extensions for Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tim Nagel

17/09 2013

1.0.0-alpha1

1.0.0.0-alpha1

A collection of useful form types and extensions for Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tim Nagel