PHPackages                             swoft-fork/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. [HTTP &amp; Networking](/categories/http)
4. /
5. swoft-fork/session

ActiveLibrary[HTTP &amp; Networking](/categories/http)

swoft-fork/session
==================

Http session component for swoft

v2.1.0(1y ago)0823↓50%1Apache-2.0PHP

Since Dec 18Pushed 1y agoCompare

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

READMEChangelogDependencies (3)Versions (2)Used By (1)

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/3fe2b00a3b57acdbf9c6ee0890609712713224e8b654eff0d23e4a0ae3969828/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2533453d382e302d627269676874677265656e2e7376673f6d61784167653d32353932303030)](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

**notice**

This repository is forked from the Swoft repository on GitHub and has only been tested with Swoole version 4.8.13 and the corresponding PHP 8.2 environment. Please use with caution in your production environment, as active code maintenance is not guaranteed. For documentation, please refer to the original framework documentation.

本仓库fork于github swoft库，只测试了swoole4.8.13，php8.2对应版本环境，请慎用于你的生产环境，不负责积极代码维护。如需查看文档请访问原框架文档。

Install
-------

[](#install)

- composer command

```
composer require swoft-fork/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

28

—

LowBetter than 54% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 80.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

Unknown

Total

1

Last Release

516d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bba312fac5f0d799df9e229d514d470468541f1d3ea9c7fae33ab390d5692d14?d=identicon)[sky-up](/maintainers/sky-up)

---

Top Contributors

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

---

Tags

phpswoolesessionswofthttp-sessionswoft-component

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[swoft/websocket-server

swoft websocket server component

16134.1k5](/packages/swoft-websocket-server)[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)[swoole-bundle/swoole-bundle

Open/Swoole Symfony Bundle

6650.4k](/packages/swoole-bundle-swoole-bundle)

PHPackages © 2026

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