firegate666/doctrine-sessionhandler

Simple doctrine PHP session handler

Installs: 33

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 2

Open Issues: 0

pkg:composer/firegate666/doctrine-sessionhandler

1.1.1 2015-12-16 12:38 UTC

This package is not auto-updated.

Last update: 2025-10-12 00:52:14 UTC


README

Simple add on to support db based sessions for PHP using doctrine.

Rules

  1. This repository follows PSR-2 standards.
  2. This project adheres to semantic versioning.
  3. This project follows Keep a CHANGELOG rules

Install

composer require firegate666/doctrine-sessionhandler

Usage

$sessionData = new SessionData(); // own class implementing SessionDataInterface
$entityManager = EntityManager::create($connConfig, $config);
session_set_save_handler(new SessionHandler($entityManager));

Contribute

Fork the repository on GitHub and submit pull requests