flextype-components / cookie
Cookie component contains methods that assist in working with cookies.
v1.2.0
2018-11-22 20:34 UTC
Requires
- php: ^7.1.3
This package is auto-updated.
Last update: 2026-02-25 13:06:01 UTC
README
Cookie component contains methods that assist in working with cookies.
Installation
composer require flextype-components/cookie
Usage
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');
License
See LICENSE