https://github.com/auraphp/aura.session
Tools for managing sessions, including session segments and read-once messages
https://github.com/auraphp/aura.session
aura csrf flash php session session-segment
Last synced: 9 months ago
JSON representation
Tools for managing sessions, including session segments and read-once messages
- Host: GitHub
- URL: https://github.com/auraphp/aura.session
- Owner: auraphp
- License: mit
- Created: 2012-08-23T22:26:16.000Z (over 13 years ago)
- Default Branch: 4.x
- Last Pushed: 2024-05-28T05:42:56.000Z (over 1 year ago)
- Last Synced: 2025-05-16T11:05:54.951Z (9 months ago)
- Topics: aura, csrf, flash, php, session, session-segment
- Language: PHP
- Homepage: https://packagist.org/packages/aura/session
- Size: 268 KB
- Stars: 203
- Watchers: 20
- Forks: 41
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Aura Session
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](https://packagist.org/packages/aura/session).
Alternatively, [download a release](https://github.com/auraphp/Aura.Session/releases) or clone this repository, then require or include its _autoload.php_ file.
### Quality
[](https://scrutinizer-ci.com/g/auraphp/Aura.Session/?branch=4.x)
[](https://codecov.io/gh/auraphp/Aura.Session)
[](https://github.com/auraphp/Aura.Session/actions/workflows/continuous-integration.yml)
To run the unit tests at the command line, issue `composer install` and then `phpunit` at the package root. This requires [Composer](http://getcomposer.org/) to be available as `composer`, and [PHPUnit](http://phpunit.de/manual/) 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.
[PSR-1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md
[PSR-2]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
[PSR-4]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md
### Community
To ask questions, provide feedback, or otherwise communicate with the Aura community, please join our [Google Group](http://groups.google.com/group/auraphp), follow [@auraphp on Twitter](http://twitter.com/auraphp), or chat with us on #auraphp on Freenode.
## Documentation
This package is fully documented [here](./docs/getting-started.md).