Download the PHP package omatamix/session-lock without Composer

On this page you can find all versions of the php package omatamix/session-lock. 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-lock

Session Lock

Continuous Integration

Installation

The best way to install Session Lock is through composer. If you do not have composer installed you can install it directly from the composer website. After composer is successfully installed run the command line code below.

Usage

Session Manager

The session manger comes with a simple api.

Start or resume a session.

Check to see if our session is running.

The put method sets a session variable.

This checks to see if this session variable is set.

The delete method deletes a session variable.

The get method gets the session variables value.

The flash method does the same as get but flash will delete the session variable after retrievale.

Stop a session.

Session Regeneration

It is very easy to update the current session id with a newly generated one.

Session Fingerprinting

This session manager comes with a built-in session fingerprinting which in a way improves session security. When you create a session handler instance, session fingerprinting is enabled by defualt, it binds your remote ip and user agent. If you do not want this enabled you can turn it off with.

You can also disable binding the remote ip or user agent like this.

If you are using a trusted proxy you can set the remote ip with this.

Session Handlers

You can also set how you session information is stored using session handlers,

Supported

Encryption Adapters

This library also includes encrypted session handlers.

Supported

Session Config

You can also pass session configuration through the session manager constructor method.

Security Vulnerabilities

If you discover a security vulnerability within Session Lock, please send an e-mail to Nicholas via [email protected]. All security vulnerabilities will be promptly addressed.

Contributing

All contributions are welcome! If you wish to contribute.

License

This project is licensed under the terms of the MIT License.


All versions of session-lock with dependencies

PHP Build Version
Package Version
Requires php Version >=7.3
cakephp/database Version ^4.1
defuse/php-encryption Version ^2.2
symfony/cache Version ^5.1
symfony/filesystem Version ^5.1
symfony/options-resolver Version ^5.1
symfony/polyfill-apcu Version ^1.18
symfony/polyfill-ctype Version ^1.18
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 omatamix/session-lock contains the following files

Loading the files please wait ....