laravel cookies code example
Example 1: setcookie in laravel 8
Cookie::queue(Cookie::make('name', 'value', $minutes));
Cookie::queue('name', 'value', $minutes);
Example 2: how to see with page reuested in laravel
$request->fullUrl()
Cookie::queue(Cookie::make('name', 'value', $minutes));
Cookie::queue('name', 'value', $minutes);
$request->fullUrl()