2017 © Pedro Peláez
 

library php-mongodb-session

A tiny, lockless session backend

image

netom/php-mongodb-session

A tiny, lockless session backend

  • Sunday, April 9, 2017
  • by netom
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Php-mongodb-session - a tiny, lockless mongodb session backend

Usage

Use composer to include 'netom/php-mongodb-session'., (*1)

Use the code below to register a mongodb session handler instance, and get the actual handler instance in a signle line:, (*2)

    $h = \Netom\Session\MongoDB::register();

See the code for parameters., (*3)

The default is to connect to the localhost, and to the 'session' database, using the 'session' collection., (*4)

Put an index to the 't' field to make garbage collection faster., (*5)

The Versions

09/04 2017

dev-master

9999999-dev https://github.com/netom/php-mongodb-session

A tiny, lockless session backend

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-mongodb ~1.2.0

 

mongodb session

09/04 2017

1.0.0

1.0.0.0 https://github.com/netom/php-mongodb-session

A tiny, lockless session backend

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-mongodb ~1.2.0

 

mongodb session