bjoern-buettner / session
A simple session handler for PHP 8.1 and newer, configurable via environment variables.
1.0.4
2023-07-25 07:49 UTC
Requires
- php: ^8.1
Requires (Dev)
- phpunit/phpunit: 10.2.3
Suggests
- ext-memcached: For faster session handling using the Memcached backend
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