Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 746 Bytes

File metadata and controls

35 lines (26 loc) · 746 Bytes

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