integrated/formtype-bundle
Symfony bundle for defining and managing reusable form types with clean configuration and integration-friendly defaults, helping you build consistent forms faster across your applications.
Architecture fit — mismatch on the stated premise. The request frames this as a Laravel/PHP package, but the artifact is a Symfony bundle: -bundle suffix, FormType vocabulary, standard Kernel::registerBundles() lifecycle, DependencyInjection/ extension wiring, Twig form themes. Laravel has no bundle concept — its analogues are service providers, FormRequest validation, and Blade components. There is no auto-discovery (extra.laravel), no config-publish convention, and no facade layer. That means the first TPM action is not an integration review but a scoping correction: decide whether we are evaluating a Symfony dependency or mining source for patterns. Those are different decisions with different owners and budgets.
Integration feasibility — speculative and unbudgeted. The only credible Laravel path is to take symfony/form as a standalone component and treat this bundle as reference material: you would supply a validator, a renderer, a CSRF token manager, and a template engine, then rewrite the wiring. That is a multi-week spike with permanent carrying cost, and it is not a shape this package was built for. The bundle as shipped almost certainly cannot be consumed without FrameworkBundle.
Technical risk — high, dominated by absent signal. Zero stars, zero dependents, no Packagist metadata, a non-GitHub host, and no documentation beyond a restatement of the name. There is no downstream population exercising upgrades, no issue history to read, no community security review. Unresolved unknowns that block any further spend: license terms, last-commit date, supported PHP range, target Symfony major (if Symfony 2/3 era, it will not run on PHP 8.2+ without patching), and whether the Bitbucket repo is even publicly clonable. A package with no dependents has no maintenance contract behind it — adoption is ownership transfer, not procurement.
Key questions.
composer.json constraints say about PHP and Symfony majors, and when was the last commit?symfony/form we would rewrite in an afternoon?Stack fit — poor as shipped. Laravel's idiomatic form story is Blade components plus FormRequest validation, or a full-stack layer like Filament/Livewire for dynamic forms. Symfony Form would introduce a second validation layer (symfony/validator constraints alongside Laravel's Validator), a second rendering layer (Twig themes alongside Blade), and a second data-mapping model (FormEvents, DataMapper). Two parallel validation and rendering systems in one codebase is a durable tax paid by every engineer who touches a form.
Migration path. Do not install the bundle. Instead: (1) clone and read src/, DependencyInjection/, and Form/Type to determine whether the value is in domain-encoded type definitions or in Symfony Form's dynamic behavior — a 1–2 hour read expected; (2) if the value is the type definitions, reimplement as FormRequest classes plus Blade partials, which typically lands well under the integration cost; (3) if the value is genuinely dynamic Form behavior, spike symfony/form standalone behind a single adapter interface so the dependency is isolated to one namespace and removable.
Compatibility. Unverified; assume worst case. Plan for PHP 7.x-era syntax, Symfony 3/4 constraints, and abandoned transitive dependencies. Even on the standalone-component path, expect to pin a modern symfony/form major and patch extracted classes for typed properties, return types, and deprecations. Run composer why-not and composer audit after any install attempt, and mirror the repo before it can disappear.
Sequencing.
FormRequests, then rendering in Blade, with tests written against the original's expected inputs.Maintenance. Adoption means permanent ownership: no upstream fixes, no PHP 8.x compatibility work, no security patches. Budget a vendored fork — manual rebases, our own CI, our own composer audit coverage. This is a recurring line item, not a one-time integration cost, and it should be presented to stakeholders that way.
Support. No community, no Stack Overflow corpus, no issue tracker with prior art. Internal debugging is the only recourse, and the failure surface spans two frameworks. That makes onboarding cost real: a new engineer inheriting "Laravel plus a hand-rolled Symfony Form bridge" faces a steep ramp with no external reference material.
Scaling. Runtime cost is negligible — form construction is request-scoped and cheap. The scaling risk is organizational: the number of engineers who can safely modify a dual-framework form layer is small, so the effective bus factor on this component is one.
Failure modes.
FormRequest rules disagree, producing accepted-but-invalid input. Highest severity; requires contract tests if the dual-layer path is ever taken.Ramp-up. Two to three days for a senior engineer to read the source and form a port/adopt opinion; one to two weeks to reach production parity if porting to native Laravel primitives; four-plus weeks with ongoing ownership if the Symfony Form dependency is carried. Given zero adoption signal and the bundle/Laravel mismatch, the recommendation is to treat this as source material for a small internal port, not as a dependency — and to close it out quickly if the reusable content proves thin. Roadmap position: low priority; revisit only when a form-standardization initiative is actually funded and a named internal owner is attached.
How can I help you explore Laravel packages today?