jblond/session

There is no license information available for the latest version (1.0.2) of this package.

1.0.2 2021-11-02 09:25 UTC

This package is auto-updated.

Last update: 2024-10-29 06:13:03 UTC


README

Encrypt the session data for PHP

install

composer require jblond/session

use

<?php

use jblond\session\SessionEncryption;

require '../vendor/autoload.php';

$key = 'random2376289uwq8239872deadAnimal2398rz3BeefBurger';

session_set_save_handler(new SessionEncryption($key));