Creating Responses: Cookies & Encryption

/**
 * The names of the cookies that should not be encrypted.
 *
 * @var array
 */
protected $except = [
    'cookie_name',
];

By default, all cookies generated by Laravel are encrypted and signed so that they can't be modified or read by the client.

Related concepts

Creating Responses: Cookies & Encryption — Structure map

Clickable & Draggable!

Creating Responses: Cookies & Encryption — Related pages: