2017 © Pedro Peláez
 

package fcphp-session

Package to manipulate Sessions

image

00f100/fcphp-session

Package to manipulate Sessions

  • Thursday, July 19, 2018
  • by 00F100
  • Repository
  • 1 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

FcPhp Session

Package to manipulate Session, (*1)

Build Status codecov Total Downloads, (*2)

How to install

Composer:, (*3)

$ composer require 00f100/fcphp-session

or add in composer.json, (*4)

{
    "require": {
        "00f100/fcphp-session": "*"
    }
}

How to use


use FcPhp\Session\Facades\SessionFacade; /** * Method to return instance of Session * * @param array $cookies Cookies default * @param string $nonce Nonce to use 00f100/fcphp-crypto * @param string $pathKeys Path to save crypto-keys * @return void */ SessionFacade::getInstance(array $cookies, string $nonce = null, string $pathKeys = null); // Start session and load cache $nonce = '...'; $pathKeys = 'var/crypto/keys'; // Use Cache into file $sessionFile = SessionFacade::getInstance($_COOKIE, $nonce, $pathKeys); // Create new configuration $sessionRedis->set('item.config', 'value'); // Print: value echo $sessionRedis->get('item.config'); /* Return: Array ( 'item' => Array( 'config' => 'value' ) ) */ print_r($sessionRedis->get()); // Save into Cookie $sessionRedis->commit();

The Versions

19/07 2018

dev-master

9999999-dev https://github.com/00f100/fcphp-session

Package to manipulate Sessions

  Sources   Download

The Requires

 

The Development Requires

session package manipulate fcphp

19/07 2018

0.1.2

0.1.2.0 https://github.com/00f100/fcphp-session

Package to manipulate Sessions

  Sources   Download

The Requires

 

The Development Requires

session package manipulate fcphp

17/07 2018

0.1.1

0.1.1.0 https://github.com/00f100/fcphp-session

Package to manipulate Sessions

  Sources   Download

The Requires

 

The Development Requires

session package manipulate fcphp

13/07 2018

0.1.0

0.1.0.0 https://github.com/00f100/fcphp-session

Package to manipulate Sessions

  Sources   Download

The Requires

 

The Development Requires

session package manipulate fcphp