PHPackages                             paradisesessions/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. [Testing &amp; Quality](/categories/testing)
4. /
5. paradisesessions/session

ActiveLibrary[Testing &amp; Quality](/categories/testing)

paradisesessions/session
========================

Simple session management class of PHP.

v1.0(3y ago)19[1 issues](https://github.com/paradisesessions/session/issues)MITPHPPHP ^8.1

Since Apr 16Pushed 2y ago2 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

 [![Paradise Sessions](.github/logo.png "Paradise Sessions")](.github/logo.png)
===============================================================================

[](#----)

 [Installation](#installation) | [Technologies](#technologies) | [Using](#using) | [Tests](#tests)

 [![Version](https://camo.githubusercontent.com/65de29e083a3022e548d8395c7ad6e333f4b91ad49493c34ddc9bf327b968ef5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e312d677265656e3f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/65de29e083a3022e548d8395c7ad6e333f4b91ad49493c34ddc9bf327b968ef5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e312d677265656e3f7374796c653d666f722d7468652d6261646765) [![PHP Version](https://camo.githubusercontent.com/ce6aa67e647e27c66a037e72dcc90d2e0f743caa74edc5a7fe6a728663ea2762/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302d7265643f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/ce6aa67e647e27c66a037e72dcc90d2e0f743caa74edc5a7fe6a728663ea2762/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302d7265643f7374796c653d666f722d7468652d6261646765) [![License](https://camo.githubusercontent.com/7b032738aeb4a8dd7ec78c4402e078ca8c196b0e528c117bbd78088c9a036988/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75653f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/7b032738aeb4a8dd7ec78c4402e078ca8c196b0e528c117bbd78088c9a036988/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75653f7374796c653d666f722d7468652d6261646765)

Project
-------

[](#project)

###### Simple session management class of PHP.

[](#simple-session-management-class-of-php)

Classe simples para gestão de sessões do PHP.

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

[](#installation)

###### By [Composer](https://getcomposer.org/).

[](#by-composer)

Via [Composer](https://getcomposer.org/).

```
composer require paradisesessions/session
```

Technologies
------------

[](#technologies)

- [PHP 8.1](https://www.php.net/downloads.php#v8.1.18)
- [PHPUnit](https://phpunit.de/)

Using
-----

[](#using)

###### Example of use class.

[](#example-of-use-class)

Exemplo de uso da classe.

```
$options = [];
$session = new ParadiseSessions\Session($options);

// set session
$session->set('email', 'name@server.com');

// verify exists
if ($session->has('email')) {
    echo $session->email;
}

// access property
echo $session->email;

// show all
print_r($session->all());

// unset session
$session->unset('email');

// destroy session
$session->destroy();
```

Tests
-----

[](#tests)

###### Test class with [PHPUnit](https://phpunit.de/).

[](#test-class-with-phpunit)

Testes na classe realizados com [PHPUnit](https://phpunit.de/).

```
composer test
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

1128d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f6b40bfdf390a38dc6c70791babc14ccf3d91ef2c31af70eeb11c8f32656df68?d=identicon)[paradisesessions](/maintainers/paradisesessions)

---

Top Contributors

[![iaematt](https://avatars.githubusercontent.com/u/18090574?v=4)](https://github.com/iaematt "iaematt (2 commits)")

---

Tags

phpphp8phpunitsessionphpsessionphp8

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k43.5M5.2k](/packages/larastan-larastan)[letsdrink/ouzo-goodies

Utility classes, test assertions and mocking framework extracted from Ouzo framework.

132617.9k7](/packages/letsdrink-ouzo-goodies)[quizlet/hammock

Hammock is a stand-alone mocking library for Hacklang.

27445.5k](/packages/quizlet-hammock)[doppiogancio/mocked-client

A simple way to mock a client

2174.9k3](/packages/doppiogancio-mocked-client)[robiningelbrecht/phpunit-coverage-tools

PHPUnit coverage tools

1783.0k34](/packages/robiningelbrecht-phpunit-coverage-tools)

PHPackages © 2026

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