symfonycontrib/link-button-bundle
A Symfony bundle for rendering link-style buttons in your applications. It offers reusable helpers and template integration so anchors can be presented as buttons with minimal setup, keeping navigation actions consistent and easy to maintain.
<form> that must render as an anchor rather than a submit button; keeping cancel actions inside the form theme so styling and layout stay uniform; avoiding a controller action purely to bounce the user back.Consider it only if all of the following hold:
Look elsewhere — or just build it — if any of these are true, which they are here:
<a href="{{ path(...) }}" class="btn btn-secondary">Cancel</a>) or a custom form type with a block_prefix. Adding a third-party composer dependency, a bundle registration, and an upgrade obligation to save that line is a net negative.Net PM recommendation: do not adopt as a dependency. Spend thirty minutes writing the equivalent internally, or contribute the pattern to your shared form theme. The decision is not "is this package good?" but "is this package better than the four lines of template it replaces?" — and at zero maintained signal, it is not.
For executives (30 seconds): An open-source snippet that renders a form's "Cancel" button as a link instead of a submit button. It is a Symfony-only component, so it is out of scope for our Laravel work. More importantly, it is a single-purpose, unmaintained project with no adoption — the risk of depending on it exceeds the value. Our recommendation is to not add it; the same behavior is a few lines of our own template code, which we already control, test, and upgrade. No cost, no vendor risk, no roadmap impact.
For engineering: This is a micro-bundle that wraps the "cancel is a link, not a submit" pattern into a Symfony form type. It is technically straightforward and the idea is sound, but the package is unmaintained (no stars, no dependents, no release cadence) and is only usable in Symfony. Proposal: replicate the pattern in our own form theme or a small in-house form type — roughly an hour of work including tests — so we get the consistent cancel/back affordance without a third-party dependency, without a bundle registration, and without an upgrade liability on every Symfony bump. If we later find we need richer behavior (per-form theme overrides, accessibility attributes, multi-step navigation), we will own that code and can extend it deliberately.
How can I help you explore Laravel packages today?