Cookies: Retrieving Cookies From Requests
Retrieving Cookies From Requests
All cookies created by the Laravel framework are encrypted and signed with an authentication code, meaning they will be considered invalid if they have been changed by the client. To retrieve a cookie value from the request, use the cookie method on a Illuminate\Http\Request instance.
Alternatively, you may use the Cookie facade to access cookie values.
Related concepts
→
Retrieving Cookies From Requests