Cookie Component

version
MIT License

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


Download

Download on the Github