I\'m trying to get a url parameter from a view file.
I have this url:
http://locahost:8000/example?a=10
and a view file na
As per official 5.8 docs:
The request() function returns the current request instance or obtains an input item:
$request = request(); $value = request('key', $default);
Docs