PHPackages                             arrilot/sessions - 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. arrilot/sessions

ActiveLibrary

arrilot/sessions
================

Use Laravel session Api to work with plain old PHP sessions in any project

1.0.3(10y ago)5697MITPHPPHP &gt;=5.4.0

Since Sep 17Pushed 5y agoCompare

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

READMEChangelogDependencies (2)Versions (4)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/4819a1af592eb78613e85980a03802db77220105d8d3b131a684ebb5ecd0f95c/68747470733a2f2f706f7365722e707567782e6f72672f617272696c6f742f73657373696f6e732f762f737461626c652e737667)](https://packagist.org/packages/arrilot/sessions/)[![Total Downloads](https://camo.githubusercontent.com/3dd1c944d626838d2e1134dfa8259e2d68710d2493c436af2000d3bf00b7e714/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f617272696c6f742f73657373696f6e732e7376673f7374796c653d666c6174)](https://packagist.org/packages/Arrilot/sessions)[![Build Status](https://camo.githubusercontent.com/3ef1b54b13deda75d9ae2a77d462406c3d880b55edca5ff06e1948de342194ac/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f617272696c6f742f73657373696f6e732f6d61737465722e7376673f7374796c653d666c6174)](https://travis-ci.org/arrilot/sessions)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/e1daf465600f1d195955d3b5a44f828a62c88fe273379b02bedd1d43b6d805fd/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f617272696c6f742f73657373696f6e732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/arrilot/sessions/)

Laravel-like framework agnostic session package
===============================================

[](#laravel-like-framework-agnostic-session-package)

*Use Laravel session Api to work with plain-old php sessions in any project*

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

[](#installation)

1. `composer require arrilot/sessions`
2. Register a service provider anywhere in your bootstrap code.

```
Arrilot\Sessions\SessionProvider::register();
```

Usage
-----

[](#usage)

`Arrilot\Sessions\Session` is the main class provided by the package. You can treat this class just like the Laravel Session facade and call literally any method listed [here](http://laravel.com/docs/5.0/session) + `Session::now()` from 5.1.

Example:

```
use Arrilot\Sessions\Session;

Session::flash('message', 'Email was sent');
```

*Note that the package does not actually require laravel session component. It provides Laravel API to work with built-in php sessions ($\_SESSION) instead.*

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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 ~39 days

Total

3

Last Release

3819d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/58d505cd6b2551974b0c076d133fd9a3c9cd635bbf308adb17a6399bd3b63232?d=identicon)[Arrilot](/maintainers/Arrilot)

---

Top Contributors

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

---

Tags

laravelstandalonesessions

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/arrilot-sessions/health.svg)

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

###  Alternatives

[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61214.2k26](/packages/slowlyo-owl-admin)[glhd/linen

21135.6k](/packages/glhd-linen)

PHPackages © 2026

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