aura / session
Provides session management functionality, including lazy session starting, session segments, next-request-only ("flash") values, and CSRF tools.
Installs: 980 703
Dependents: 76
Suggesters: 2
Security: 0
Stars: 204
Watchers: 21
Forks: 42
Open Issues: 3
Requires
- php: ^7.2 || ^8.0
Requires (Dev)
- phpunit/phpunit: ^8.5
Suggests
- ext-mcrypt: Mcrypt generates the next best secure CSRF tokens.
- ext-openssl: OpenSSL generates the best secure CSRF tokens.
This package is auto-updated.
Last update: 2024-11-28 06:38:32 UTC
README
Provides session management functionality, including lazy session starting, session segments, next-request-only ("flash") values, and CSRF tools.
Foreword
Installation
This library requires PHP 7.2 or later. It has been tested on PHP 7.2-8.2. we recommend using the latest available version of PHP as a matter of principle. It has no userland dependencies.
It is installable and autoloadable via Composer as aura/session.
Alternatively, download a release or clone this repository, then require or include its autoload.php file.
Quality
To run the unit tests at the command line, issue composer install
and then phpunit
at the package root. This requires Composer to be available as composer
, and PHPUnit to be available as phpunit
.
This library attempts to comply with PSR-1, PSR-2, and PSR-4. If you notice compliance oversights, please send a patch via pull request.
Community
To ask questions, provide feedback, or otherwise communicate with the Aura community, please join our Google Group, follow @auraphp on Twitter, or chat with us on #auraphp on Freenode.
Documentation
This package is fully documented here.