hello-sebastian/hello-stimulus-bundle
Symfony bundle that brings Stimulus controllers into your PHP app, handling controller discovery, asset registration and Twig helpers so you can add lightweight JavaScript behaviour without a full front-end framework. Simplifies wiring Symfony assets to Stimulus.
data- attribute on the <form> tag, which materially affects how server-rendered forms integrate with client-side behavior (Stimulus/Stimulus-style controllers, Hotwire/Turbo, Alpine, or a custom JS layer). This is a small but meaningful DX feature for teams building interactive forms with a progressive-enhancement stack.Consider adopting when:
Look elsewhere when:
Adoption guardrails: pin the version, confirm the attribute name/emission matches your JS framework's expected convention, and check that the method composes with existing attribute setters (no silent overwrite of other data-* attributes).
Executive summary: This release adds a small convenience for emitting a controller identifier onto form markup, improving how server-rendered forms wire up to frontend behavior. It is a developer-experience improvement, not a capability shift — low risk, low effort, no migration impact visible.
For engineering: v0.2.0 adds setControllerNameToFormView, which sets a controller data- attribute on the form tag. Adopt only if you already depend on this package or are standardizing form markup emission; verify attribute naming matches your JS controller convention and confirm no collision with other form attributes. Package remains pre-1.0 — pin versions, and treat the public API as unsettled until a 1.0 milestone.
How can I help you explore Laravel packages today?