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

ActiveLibrary

swoft/session
=============

Http session component for swoft

v2.0.11(5y ago)891.1k—0%72Apache-2.0PHPCI failing

Since Mar 5Pushed 5y ago7 watchersCompare

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

READMEChangelog (7)Dependencies (3)Versions (17)Used By (2)

Swoft Session
=============

[](#swoft-session)

[![Latest Stable Version](https://camo.githubusercontent.com/e1a1ccc38fe080a299f80244bec0b0342cd0a943a2e496907b4056a13864b666/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73776f66742f73657373696f6e2e737667)](https://packagist.org/packages/swoft/session)[![Php Version](https://camo.githubusercontent.com/c197ef1e57a32c886b2a54d02ead7dbc035f18b3f39a642703b9372eef7819f9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2533453d372e312d627269676874677265656e2e7376673f6d61784167653d32353932303030)](https://secure.php.net/)[![Swoft Doc](https://camo.githubusercontent.com/ea1431167b522b88916c717b0bfe6348328a8662a684bb128f0b0bd6d22a20d5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63732d70617373696e672d677265656e2e7376673f6d61784167653d32353932303030)](https://www.swoft.org/docs)[![Swoft License](https://camo.githubusercontent.com/1c419f89412ea6c234c184ad6d85decb127c18584858d3707ae7d8e2131eccc4/68747470733a2f2f696d672e736869656c64732e696f2f686578706d2f6c2f706c75672e7376673f6d61784167653d32353932303030)](https://github.com/swoft-cloud/swoft/blob/master/LICENSE)

Swoft Http Session Component

Install
-------

[](#install)

- composer command

```
composer require swoft/session
```

Resources
---------

[](#resources)

- [Documentation](https://swoft.org/docs)
- [Contributing](https://github.com/swoft-cloud/swoft/blob/master/CONTRIBUTING.md)
- [Report Issues](https://github.com/swoft-cloud/swoft/issues) and [Send Pull Requests](https://github.com/swoft-cloud/swoft-component/pulls) in the [Main Swoft Repository](https://github.com/swoft-cloud/swoft)

LICENSE
-------

[](#license)

The Component is open-sourced software licensed under the [Apache license](LICENSE).

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 92.6% 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 ~83 days

Recently: every ~134 days

Total

15

Last Release

1829d ago

Major Versions

v1.0.5 → v2.0.42019-07-18

### Community

Maintainers

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

---

Top Contributors

[![inhere](https://avatars.githubusercontent.com/u/5302062?v=4)](https://github.com/inhere "inhere (25 commits)")[![stelin](https://avatars.githubusercontent.com/u/1677543?v=4)](https://github.com/stelin "stelin (2 commits)")

---

Tags

sessionswoftswoolewebsitephpswoolesessionswofthttp-sessionswoft-component

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[swoft/http-server

swoft http server component

11174.5k8](/packages/swoft-http-server)[swoft/http-client

HTTP Client Component for Swoft

1139.3k4](/packages/swoft-http-client)

PHPackages © 2026

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