Snippets tagged “controller”
2 snippets use this tag.
- Create a Laravel Request object on the flyPHP
In Laravel, you can create a Request object on the fly by using the create method of the Request facade.
- Laravel: redirect from controller to named route with params in URLPHP
In Laravel, you can redirect from a controller to a named route with URL parameters using the redirect() helper function.