Laravel Has an Encrypt Cookies Middleware.
The best approach is to add an exception for specific cookies in the $except array
namespace App\Http\Middleware;
use Illuminate\Cookie\Middleware\EncryptCookies as BaseEncrypter;
class EncryptCookies extends BaseEncrypter
{
protected $except = [
'name_of_cookie_to_exclude_from_encryption'
];
}
OR if more your style
You may add this to to the boot method of a registered service provider
App\Http\Middleware\EncryptCookies::disableFor('name_of_cookie_to_exclude_from_encryption');