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

1.0.4 2023-07-25 07:49 UTC

This package is auto-updated.

Last update: 2024-11-25 10:31:40 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