Cookies 1.2.0
Cookies package version 1.2.0 was released. This version adds a parameter $encodeValue to the Cookie constructor and the Cookie::withRawValue() method that creates a cookie copy with a new value that will not be encoded.
Cookies package version 1.2.0 was released. This version adds a parameter $encodeValue to the Cookie constructor and the Cookie::withRawValue() method that creates a cookie copy with a new value that will not be encoded.
Minor version of cookies package released:
Yiisoft\Cookies\CookieEncryptor class to encrypt the value of the cookie and verify that it is tampered.Yiisoft\Cookies\CookieSigner class to sign the value of the cookie and verify that it is tampered.Yiisoft\Cookies\CookieMiddleware class to encrypt/sign the value of the cookie and verify that it is tampered.First version of cookies package released.
The package helps in working with HTTP cookies in a PSR-7 environment:
Set-Cookie headers to responseAccording to our quality standards, it has full test coverag, high MSI score and type coverage.
Usage examples are available in package readme.