Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Session Concurrency Laravel Package

ajgl/session-concurrency

View on GitHub
Deep Wiki
Context7

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:

  1. The concurrency control strategy
  2. The default strategy
  3. 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: Build Status
  • Poser Latest Stable Version: Latest Stable Version
  • Poser Latest Unstable Version Latest Unstable Version
  • Poser Total Downloads Total Downloads
  • Poser Monthly Downloads Montly Downloads
  • Poser Daily Downloads Daily Downloads
  • Poser License License
  • Scrutinizer Quality Scrutinizer Code Quality
  • Scrutinizer Code Coverage Code Coverage
  • SensioLabs Insight Quality SensioLabsInsight
  • VersionEye Dependency Status 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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky