Cookie component contains methods that assist in working with cookies.

v1.2.0 2018-11-22 20:34 UTC

This package is auto-updated.

Last update: 2024-10-25 10:14:30 UTC


README

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