Download the PHP package rafaeldms/cookie without Composer
On this page you can find all versions of the php package rafaeldms/cookie. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package cookie
Cookie @RafaelDms
The Cookie is a component for creating Cookies in the browser with the possibility to create, read, edit and remove cookies.
O Cookie é um componente para criação de Cookies nos navegadores tendo a possibilidade de criar, ler, editar e remover cookies.
Highlights
- Simple Installation (Instalação simples)
- Easy get instance (Fácil de instanciar)
- Total controle of the cookies (Controle total dos cookies)
- Create cookies with base_64 encryption (Crie cookies com criptografia base_64)
- Composer ready and PSR-2 compliant (Pronto para o composer e Compatível com PSR-2)
Installation
Cookie is available via Composer:
or run
Documentation
For details on how to use the Cookie, see the sample folder with details in the component directory
Para mais detalhes sobre como usar o Cookie, veja a pasta de exemplo com detalhes no diretório do componente
To start using the Cookie you can Instantiate a new Class or use it in an abstract way
Para começar a usar o Cookie pode Instanciar uma nova Classe ou utilizando métodos estáticos
Create Cookie using static methods (Criando cookies usando o método estático)
Get Cookie using static methods (Obter Cookie usando métodos estáticos)
Create values as array (Criando valores em array)
Get Cookie using static methods (Obter Cookie usando métodos estáticos)
Delete cookie using static method (Deletar cookie usando método estático)
Create if it doens't exist using method static (Criando um cookie se não existir usando método estático)
Create and delete if it exists the static method (Criando e deletando um cookie se existir usando método estático)
Check if exists using a static method (Verificando se um cookie existe usando método estático)
Check if exists by value using a static method (Verificando se um cookie existe um valor usando método estático)
Instance a new cookie object (Instanciando um novo objeto cookie)
Set methods
Set value
Set expiryTime
Set path
Set domain
Set http only
Set secure only
Save and set
Get methods
Get value
Get expire time
Get path
Get domain
Is http only
Is secure only
Update value (set new value)
Check if exists cookie and delete cookie
Delete and unset cookie
Contributing
Please see CONTRIBUTING for details.
Support
Security: If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Se você descobrir algum problema relacionado à segurança, envie um e-mail para [email protected] em vez de usar o rastreador de problemas.
Thank you
Credits
- Rafael Damasceno Ferreira (Developer)
- Cagep Consultoria (Team)
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of cookie with dependencies
ext-json Version *
ext-phar Version *