Laravel 5 how to use get parameter from url with controller’s sign in method

When you have an URI such as login?r=articles, you can retrieve articles like this:

request()->r

You can also use request()->has('r') to determine if it’s present in the URI.

And request()->filled('r') to find out if it’s present in the URI and its value is not empty.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)