When you work with Laravel it is very common to get query string values from URL. In native PHP you can get this via $_GET variable. But when you want to get Query strings from a URL in Laravel you can use the below methods. Either you can use Request Facade or Input facade in Laravel.
Suppose the url in
http://myurl.com/posts?id=90&action=edit
So go to your controller that corresponding to your route.
Leave a Reply