Download the PHP package gabriel403/g403-session-db without Composer
On this page you can find all versions of the php package gabriel403/g403-session-db. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gabriel403/g403-session-db
More information about gabriel403/g403-session-db
Files in gabriel403/g403-session-db
Package g403-session-db
Short Description Extension to ZF2 to allow sessions to be stored in the database.
License BSD-3-Clause
Homepage https://github.com/gabriel403/G403SessionDb
Informations about the package g403-session-db
G403SessionDb
Version 0.0.1 Created by Gabriel Baker (Gabriel403)
Introduction
G403SessionDb is a session storage module for Zend Framework 2. Out of the box, G403SessionDb works with Zend\Db. G403SessionDb provides the foundations for adding sessions into the db for your ZF2 site. It is designed to be very simple and easily to extend.
Installation
Main Setup
By cloning project
- Clone this project into your
./vendor/
directory.
With composer
-
Add this project in your composer.json:
- Now tell composer to download G403SessionDb by running the command:
OR
And type dev-master
when asked for a version to pick.
Post installation
-
Enabling it in your
application.config.php
file. - Then Import the SQL schema located in
./vendor/G403SessionDb/data/schema.sql
.
Post-Install: Zend\Db
-
If you do not already have a valid Zend\Db\Adapter\Adapter in your service manager configuration, you can copy the one from our config directory
config/g403sessiondb.global.php.dist
to the project./config/autoload/g403sessiondb.local.php
: - If you want to edit the session options (rememberme time, name, domain etc) then copy
config/g403session. global.php.dist
to the project./config/autoload/g403session.local.php
: