dflydev/fig-cookies
PSR-7 cookie helper for managing Cookie request headers and Set-Cookie response headers. Provides Cookies and SetCookies collections to read from requests/responses, modify cookie values/attributes, and render updated headers back into PSR-7 messages.
withPartitioned on the cookie instance, for example:
SetCookie::create('someCookie')->withPartitioned();
For further information, see MDN DocsFull Changelog: https://github.com/dflydev/dflydev-fig-cookies/compare/v3.1.0...v3.2.0
FigResponseCookies::expire() and SetCookie::createExpired() have been deprecated. In order to expire a cookie, create a SetCookie instance with properties that match the existing cookie and call expire, passing the new SetCookie instance to FigResponseCookies::set().
by @franzliedke in https://github.com/dflydev/dflydev-fig-cookies/pull/45psr/http-message to ^1 || ^2
by @gsteel in https://github.com/dflydev/dflydev-fig-cookies/pull/60Full Changelog: https://github.com/dflydev/dflydev-fig-cookies/compare/v3.0.0...v3.1.0
Updated to support PHP 8.
Fix potential issue with malformed cookies causing catastrophic errors instead of simply returning a cookie with no value. #42
How can I help you explore Laravel packages today?