Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Symfony
  3. InfiniteFormBundle

InfiniteFormBundle

PHP1.0.11

A Symfony bundle providing advanced form types like PolyCollection, CheckboxGrid, and EntitySearch for complex data relationships.

GitHubGitHub
169 stars37 forks0 contributors

What is InfiniteFormBundle?

InfiniteFormBundle is a Symfony bundle that provides advanced form types and extensions to handle complex data relationships in Symfony applications. It solves problems like managing polymorphic collections, editing many-to-many relationships with checkbox grids, and implementing AJAX-based entity searches. The bundle enhances Symfony's built-in form capabilities with reusable components for real-world use cases.

Target Audience

Symfony developers building applications with complex form requirements, especially those using Doctrine ORM with inheritance or many-to-many relationships. It's ideal for projects needing dynamic collections, matrix-style inputs, or autocomplete entity selection.

Value Proposition

Developers choose InfiniteFormBundle because it offers specialized, production-ready form types that Symfony lacks out-of-the-box, reducing custom form development time. Its focus on complex data structures and seamless integration with Doctrine and Twig makes it a practical toolkit for challenging form scenarios.

Overview

A collection of useful form types and extensions for Symfony.

Use Cases

Best For

  • Managing polymorphic collections with Doctrine single or multi-table inheritance
  • Editing many-to-many relationships using a checkbox grid interface
  • Implementing AJAX autocomplete for entity selection in forms
  • Enhancing file upload handling with custom attachment types
  • Adding JavaScript helpers for dynamic collection management in Symfony forms
  • Extending Twig templates with form-specific rendering functions

Not Ideal For

  • Projects not using Symfony or Doctrine ORM, as the bundle is tightly integrated with these technologies.
  • Applications with simple, static forms that don't require polymorphic collections or many-to-many grids.
  • Teams preferring minimal JavaScript and full page reloads, since features like EntitySearch require custom AJAX implementation.

Pros & Cons

Pros

Polymorphic Collection Support

Solves complex Doctrine inheritance scenarios by allowing multiple entity types in a single form collection, as shown in the InvoiceLine example with PolyCollection.

Many-to-Many Grid Editing

Simplifies editing complex relationships with a checkbox grid interface, ideal for matrix selections like products vs. areas without custom coding, per the CheckboxGrid documentation.

AJAX Entity Search Alternative

Provides a performant autocomplete text field that loads suggestions via AJAX, reducing load times compared to Symfony's EntityType for large datasets, though callbacks must be implemented.

Enhanced Form Utilities

Includes JavaScript helpers for dynamic collection management and Twig extensions for easier form rendering, integrating seamlessly into Symfony workflows as highlighted in the README.

Cons

Manual AJAX Setup Required

EntitySearch type lacks built-in AJAX callbacks, forcing developers to write their own server-side logic for autocomplete functionality, adding extra implementation work.

Documentation Fragmentation

Documentation is split into multiple markdown files (e.g., for PolyCollection, CheckboxGrid), which can make it harder to find comprehensive guides without navigating several pages.

Framework and Doctrine Dependency

Tightly coupled with Symfony and Doctrine ORM, limiting usability in projects using other PHP frameworks or data persistence layers, as it's designed specifically for Symfony's ecosystem.

Frequently Asked Questions

Quick Stats

Stars169
Forks37
Contributors0
Open Issues8
Last commit7 months ago
CreatedSince 2013

Tags

#doctrine-orm#form-types#form-utilities#twig-extensions#symfony-bundle

Built With

D
Doctrine
J
JavaScript
T
Twig
S
Symfony

Included in

Symfony1.6k
Auto-fetched 15 hours ago

Related Projects

CraueFormFlowBundleCraueFormFlowBundle

Multi-step forms for your Symfony project.

Stars748
Forks126
Last commit1 year ago
LexikFormFilterBundleLexikFormFilterBundle

This Symfony bundle aim to provide classes to build some form filters and then build a doctrine query from this form filter.

Stars388
Forks118
Last commit2 years ago
IvoryCKEditorBundleIvoryCKEditorBundle

Provides a CKEditor integration for your Symfony project.

Stars333
Forks107
Last commit7 years ago
KarserRecaptcha3BundleKarserRecaptcha3Bundle

Google ReCAPTCHA v3 for Symfony

Stars187
Forks23
Last commit7 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub