PHPackages                             coercive/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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. coercive/session

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

coercive/session
================

Coercive Security Session

0.0.20(2y ago)11.1k1MITPHP &gt;=7.0

Since Jun 12Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Coercive/Session)[ Packagist](https://packagist.org/packages/coercive/session)[ Docs](http://coercive.fr)[ RSS](/packages/coercive-session/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (6)DependenciesVersions (7)Used By (1)

Coercive Session
================

[](#coercive-session)

Start and store basic items in session

Get
---

[](#get)

```
composer require coercive/session

```

Usage
-----

[](#usage)

```
use Coercive\Security\Session\Config;
use Coercive\Security\Session\Session;

# Set your config options
$Config = new Config();
$Config->setAutoStartSession(true);
$Config->setSessionDomain('.mywebsite.com');
//...

# Get your session handler
$Session = new Session($Config);

# And use ...
if($Session->isActive()) {
	// do something
}
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

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.

###  Release Activity

Cadence

Every ~201 days

Recently: every ~133 days

Total

6

Last Release

791d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20288080?v=4)[Coercive](/maintainers/Coercive)[@Coercive](https://github.com/Coercive)

---

Top Contributors

[![Coercive](https://avatars.githubusercontent.com/u/20288080?v=4)](https://github.com/Coercive "Coercive (30 commits)")

### Embed Badge

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

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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