PHPackages                             o80/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. o80/session

ActiveLibrary

o80/session
===========

Handle session start and provide some security.

014PHP

Since Apr 2Pushed 11y ago1 watchersCompare

[ Source](https://github.com/olivierperez/o80-session)[ Packagist](https://packagist.org/packages/o80/session)[ RSS](/packages/o80-session/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

o80-session
===========

[](#o80-session)

This PHP library provide some security around the stealing of session.

[![Build Status](https://camo.githubusercontent.com/4316b18db738ff791a4061ff3258b9c241e13edad5a2d6e82cbea56500763175/68747470733a2f2f7472617669732d63692e6f72672f6f6c6976696572706572657a2f6f38302d73657373696f6e2e737667)](https://travis-ci.org/olivierperez/o80-session)[![Latest Unstable Version](https://camo.githubusercontent.com/768d8ca88983d21cf1280540cdf5a7b433012e2cde053472d8a00e31343c307c/68747470733a2f2f706f7365722e707567782e6f72672f6f38302f73657373696f6e2f762f756e737461626c652e737667)](https://packagist.org/packages/o80/session)[![License](https://camo.githubusercontent.com/d32f1ffc6019b5b7ff45f3cb72c332593d827d2bca66c30743718bb291b2e404/68747470733a2f2f706f7365722e707567782e6f72672f6f38302f73657373696f6e2f6c6963656e73652e737667)](https://packagist.org/packages/o80/session)

How-to
======

[](#how-to)

Installation
------------

[](#installation)

With [Composer](http://getcomposer.org/), you simply need to require [`o80/session`](https://packagist.org/packages/o80/session):

```
{
...
    "require": {
        "o80/session": "dev-master"
    }
...
}
```

Starting session
----------------

[](#starting-session)

Replace `session_start();` by `$session = new o80\Session(); $session->start();`.

Using session
-------------

[](#using-session)

Nothing changed :

```
// Writing
$_SESSION['x'] = 'foo';

// Reading
$bar = $_SESSION['x'];
```

Contribution
============

[](#contribution)

Just fork the project, make your changes, ask for pull request ;-).

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/03013edc49362d5a12ddc5905c6f190857fc82ddcfa5b1f696b929059acea0b2?d=identicon)[olivierperez](/maintainers/olivierperez)

---

Top Contributors

[![olivierperez](https://avatars.githubusercontent.com/u/883959?v=4)](https://github.com/olivierperez "olivierperez (14 commits)")

### Embed Badge

![Health badge](/badges/o80-session/health.svg)

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

PHPackages © 2026

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