Download the PHP package fyre/cookie without Composer
On this page you can find all versions of the php package fyre/cookie. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package cookie
FyreCookie
FyreCookie is a free, open-source cookie library for PHP.
Table Of Contents
- Installation
- Basic Usage
- Methods
Installation
Using Composer
In PHP:
Basic Usage
$name
is a string representing the cookie name.$value
is a string representing the cookie value.$options
is an array containing cookie options.expires
is a number representing the cookie lifetime, and will default to null.domain
is a string representing the cookie domain, and will default to "".path
is a string representing the cookie path, and will default to "/".secure
is a boolean indicating whether to set a secure cookie, and will default to false.httpOnly
is a boolean indicating whether to the cookie should be HTTP only, and will default to false.sameSite
is a string representing the cookie same site, and will default to "Lax".
Methods
Get Domain
Get the cookie domain.
Get Expires
Get the cookie expires timestamp.
Get Header String
Get Name
Get the cookie name.
Get Path
Get the cookie path.
Get Same Site
Get the cookie same site attribute.
Get Value
Get the cookie value.
Is Expired
Determine whether the cookie has expired.
Is Http Only
Determine whether the cookie is HTTP only.
Is Secure
Determine whether the cookie is secure.
All versions of cookie with dependencies
PHP Build Version
Package Version
No informations.
The package fyre/cookie contains the following files
Loading the files please wait ....