SyntaxFix
Write A Post
Hire A Developer
Questions
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