Cookie component contains methods that assist in working with cookies.
composer require flextype-components/cookie
use Flextype\Component\Cookie\Cookie;Set a cookie
Cookie::set('username', 'Awilum');Get a cookie
$username = Cookie::get('username');Delete a cookie
Cookie::delete('username');See LICENSE