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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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:

  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

About

AjglSessionConcurrency is an ajgarlag initiative.

Reporting an issue or a feature request

Issues and feature requests are tracked in the Github issue tracker.


All versions of session-concurrency with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
symfony/security Version ~2.3
ajgl/session-expiration Version >=0.1.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ajgl/session-concurrency contains the following files

Loading the files please wait ....