laravel cookie code example
Example 1: setcookie in laravel 8
Cookie::queue(Cookie::make('name', 'value', $minutes));
Cookie::queue('name', 'value', $minutes);
Example 2: laravel get all request parameters
$request->input('name');
$request->input('user.name'); // fetch from user object
Example 3: how to see with page reuested in laravel
$request->fullUrl()