Search by

vespula / session

jelofson

A simplified Session library without complications. SQL Save Handler is included.

Package info

bitbucket.org/vespula/vespula.session

pkg:composer/vespula/session

Statistics

Installs: 223

Dependents: 0

Suggesters: 0

2.0.2 2026-10-27 19:36 UTC

This package is auto-updated.

Last update: 2026-11-03 16:47:41 UTC


README

Vespula Session is a lightweight PHP session management library that provides a simple interface for working with PHP sessions.

It builds on PHP’s native session functionality and adds a few useful features:

  • A namespaced session container to keep library data separate from other application session data.
  • Named segments for organizing session values.
  • Configurable idle timeouts.
  • Flash messages for storing one-time messages.
  • CSRF token generation and validation.
  • Support for custom PHP session save handlers.

The library deliberately avoids trying to replace PHP’s session functionality. It provides a small layer on top of it, with a focus on simplicity and predictable behaviour.

Documentation is at https://vespula.bitbucket.io/session/index.html