How to use cookies in laravel?
1. How to set Cookie
To set cookie value, we have to use Cookie::put('key', 'value');
2. How to get Cookie
To get cookie Value we have to use Cookie::get('key');
3. How to delete or remove Cookie
To remove cookie Value we have to use Cookie::forget('key')
4. How to check Cookie
To Check cookie is exists or not, we have to use Cache::has('key')
BY Best Interview Question ON 01 Feb 2020