Cookie Handler

Cookie Handler

(6) 5.00 stars
50 Sales

The Basics

This package provides a subscripting mechanism to use in you application. Using the Event class you can listen to and fire events.

Because it is simple to use, yet incredibly powerful even for advanced tasks. The package features a dead simple API, but under the hood all cookies are encrypted and if there is a feature you would like to add, you can always hook in using event binding.


  • Set cookies
  • Get cookies
  • Expire cookies
  • Set expiration time in minutes
  • Expire all cookies
  • Immortal cookies
  • Event Binding
  • Bind a class to an event
  • Bind a closure to an event
  • Specify function on class for event
  • Strong encryption using mcrypt
  • If mcrypt not installed, basic encryption
  • Check if cookie is set
  • Unbind event

Author’s Notes

Cookies are useful in almost any application. But using the $_COOKIE super variable can be a cumbersome. It’s time to put a API on top. Simple to use for basic tasks and prefect for advanced jobs.

Give it a try, I’m sure you are going to love it.