Skip to content

Cookie component contains methods that assist in working with cookies.

License

Notifications You must be signed in to change notification settings

flextype-components/cookie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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