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.
zend-mvc-plugin-prg adds a Post/Redirect/Get (PRG) controller plugin to zend-mvc applications. It prevents duplicate form submissions and the "resubmit on refresh" browser prompt by redirecting after a successful POST.
Call $this->prg() in a controller action: on POST it stores the submitted data in the session and returns a redirect response; on the following GET it returns the stored parameters so the form can be repopulated.
prg() controller pluginHow can I help you explore Laravel packages today?