flextype-components / cookie
Cookie component contains methods that assist in working with cookies.
Installs: 5 279
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ^7.1.3
This package is auto-updated.
Last update: 2024-12-25 10:29:42 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