zendframework/zend-mvc-plugin-prg
The Post/Redirect/Get plugin for zend-mvc prevents duplicate form submissions by redirecting after a successful POST. Configure it to redirect to a route or URL, keeping form data available for the next request.
return redirect()->route(...)->withInput()), and the plugin's entire value is a thin file/URL/redirect helper. Copying ~20 lines of behaviour into a base controller is cheaper than a dependency.laminas-mvc-plugin-prg. Any new investment should target Laminas or, more likely, your existing framework's native redirect handling.Consider it only if all of the following hold:
zend-stdlib v3.x — 1.2.0 drops support for zend-stdlib v2, which is the one breaking change worth flagging. If you have a v2 constraint anywhere in composer.lock, this release will not install.Look elsewhere when:
redirect()->withInput() / session()->flash(); adding this package would create a dependency your application can never actually load. Do not adopt.laminas-mvc-plugin-prg instead; this package is effectively frozen.Release verdict (1.2.0): Maintenance-only. Additive PHP 7.3 support, a transitive-dependency removal (zend-stdlib v2), no new features, no deprecations of the package's own API. Low urgency; upgrade opportunistically when already bumping the PHP runtime.
One line: A small utility that stops users from accidentally submitting the same form twice — by redirecting after a successful POST.
For executives: Negligible strategic value. It is a single-purpose helper inside a framework line (Zend Framework) that is no longer actively developed. The 1.2.0 release is a compatibility patch (PHP 7.3) with a minor dependency cleanup. It does not unlock features, reduce cost, or advance any roadmap item — approve it only as routine maintenance on a legacy system, and treat any dependency on it as migration debt to be retired in favour of our standard stack.
For engineering: Low risk, low reward. 1.2.0 is safe to take if you're already on PHP 7.3; verify nothing still resolves zend-stdlib v2 before merging, since that constraint is now dropped. Do not introduce this into Laravel — it cannot run there, and the pattern is already native. Log any remaining usage as a candidate for replacement with laminas-mvc-plugin-prg or in-framework handling at the next refactor.
How can I help you explore Laravel packages today?