Download the PHP package ajgl/session-concurrency without Composer
On this page you can find all versions of the php package ajgl/session-concurrency. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ajgl/session-concurrency
More information about ajgl/session-concurrency
Files in ajgl/session-concurrency
Package session-concurrency
Short Description Symfony session authentication strategy to control concurrency
License MIT
Homepage https://github.com/ajgarlag/AjglSessionConcurrency
Informations about the package session-concurrency
AjglSessionConcurrency
The AjglSessionConcurrency component allows you to detect and control concurrent sessions for the same user.
PR Reference
This feature has been submitted to the Symfony project in the PR #12810.
All your feedback and contributions to this repository will help me to improve the referenced PR.
Usage
You have to override the default session authentication strategy with a composite strategy chains:
- The concurrency control strategy
- The default strategy
- The register strategy
If you want to expire old sessions when the maximun number of allowed sessions
is reached, you have to subscribe the SessionRegistryExpirationListener
to the
kernel.response
event of your application HTTP kernel.
Symfony Bundle
If you need to integrate this library into your Symfony Framework app, you can install the AjglSessionConcurrencyBundle
License
This component is under the MIT license. See the complete license in the LICENSE file.
Badges
- Travis CI:
- Poser Latest Stable Version:
- Poser Latest Unstable Version
- Poser Total Downloads
- Poser Monthly Downloads
- Poser Daily Downloads
- Poser License
- Scrutinizer Quality
- Scrutinizer Code Coverage
- SensioLabs Insight Quality
- VersionEye Dependency Status
About
AjglSessionConcurrency is an ajgarlag initiative.
Reporting an issue or a feature request
Issues and feature requests are tracked in the Github issue tracker.