A simple session handler for PHP 8.1 and newer, configurable via environment variables.

Installs: 179

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/bjoern-buettner/session

1.0.4 2023-07-25 07:49 UTC

This package is auto-updated.

Last update: 2025-09-25 12:06:19 UTC


README

A memcached and file session handler taking care of IP-Locking as well. Simply call the Factory and have it handle all the checks.

Configuration via ENV

  • SESSION_DURATION defaults to 7200 and is the session duration in seconds
  • ENABLE_MEMCACHED must be set to true if memcached should be supported
  • SESSION_PATH must be set if the sessions should be stored outside the system temp directory