1Set cookie: Cookie::queue(Cookie::make('cookieName', 'value', $minutes));
2
3Get cookie: $value = $request->cookie('cookieName');
4or $value = Cookie::get('cookieName');
5
6Forget/remove cookie: Cookie::queue(Cookie::forget('cookieName'));
7
8Check if cookie exist: Cookie::has('cookiename');
9or $request->hasCookie('cookiename') will return true or false
10
11For more detail, you can refer to the documentation:
12
13https://laravel.com/docs/5.7/requests#cookies
14https://laravel.com/api/5.7/Illuminate/Contracts/Cookie/Factory.html