setcookie in laravel 8
snippet in php

setcookie in laravel 8

user2166

Cookie::queue(Cookie::make('name', 'value', $minutes));

Cookie::queue('name', 'value', $minutes);