Put a slash before the Cookie it will work .
Like this
$cookie = \Cookie::make('name', 'value');
0
votes
cookie('cookiename','your value',time);
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more
use Cookie;
. Done. – Amelia