PHPackages                             00f100/fcphp-session - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. 00f100/fcphp-session

ActivePackage[Utility &amp; Helpers](/categories/utility)

00f100/fcphp-session
====================

Package to manipulate Sessions

0.1.3(7y ago)11691PHPPHP &gt;=7.2

Since Jul 13Pushed 7y ago1 watchersCompare

[ Source](https://github.com/00F100/fcphp-session)[ Packagist](https://packagist.org/packages/00f100/fcphp-session)[ Docs](https://github.com/00f100/fcphp-session)[ RSS](/packages/00f100-fcphp-session/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (5)Versions (5)Used By (1)

FcPhp Session
=============

[](#fcphp-session)

Package to manipulate Session

[![Build Status](https://camo.githubusercontent.com/20e4e9c94a238f813ce8e0538a27c33c731393503a9f494e672d953c9f061c6f/68747470733a2f2f7472617669732d63692e6f72672f3030463130302f66637068702d73657373696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/00F100/fcphp-session) [![codecov](https://camo.githubusercontent.com/2af89101733c1d78b6af873e989e92353cfae87f843611da7d680938dc4835d9/68747470733a2f2f636f6465636f762e696f2f67682f3030463130302f66637068702d73657373696f6e2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/00F100/fcphp-session) [![Total Downloads](https://camo.githubusercontent.com/8a89dc7cb75f6b727dee83cc2128b9e4f12d731f66b7c830296b37f6ef7122bf/68747470733a2f2f706f7365722e707567782e6f72672f3030463130302f66637068702d73657373696f6e2f646f776e6c6f616473)](https://packagist.org/packages/00F100/fcphp-session)

How to install
--------------

[](#how-to-install)

Composer:

```
$ composer require 00f100/fcphp-session
```

or add in composer.json

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

How to use
----------

[](#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();
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~7 days

Total

4

Last Release

2841d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2ff406566b9371ed5b48e1e62a5dcafd6f1de2e3066fa0922afdfe418d100b8c?d=identicon)[00F100](/maintainers/00F100)

---

Top Contributors

[![00F100](https://avatars.githubusercontent.com/u/8130040?v=4)](https://github.com/00F100 "00F100 (8 commits)")

---

Tags

fcphpfcphp-sessionphp7php72sessionpackagesessionmanipulatefcphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/00f100-fcphp-session/health.svg)

```
[![Health](https://phpackages.com/badges/00f100-fcphp-session/health.svg)](https://phpackages.com/packages/00f100-fcphp-session)
```

###  Alternatives

[composer/composer

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

29.4k187.2M2.6k](/packages/composer-composer)[jean85/pretty-package-versions

A library to get pretty versions strings of installed dependencies

1.3k289.5M63](/packages/jean85-pretty-package-versions)[composer/satis

Simple Repository Generator

3.3k1.4M17](/packages/composer-satis)[nunomaduro/essentials

Just better defaults for your Laravel projects.

1.2k317.5k51](/packages/nunomaduro-essentials)[bryanjhv/slim-session

Session middleware and helper for Slim framework 4.

233961.5k16](/packages/bryanjhv-slim-session)[christiankuri/laravel-favorite

Allows Laravel Eloquent models to implement a 'favorite' or 'remember' or 'follow' feature.

226471.2k5](/packages/christiankuri-laravel-favorite)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
