PHPackages                             swoft/framework - 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. [Framework](/categories/framework)
4. /
5. swoft/framework

ActiveLibrary[Framework](/categories/framework)

swoft/framework
===============

swoft framework component

v2.0.11(5y ago)64181.4k↓33.3%42[1 PRs](https://github.com/swoft-cloud/swoft-framework/pulls)20Apache-2.0PHPPHP &gt;=7.1

Since Dec 11Pushed 4y ago11 watchersCompare

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

READMEChangelog (10)Dependencies (11)Versions (53)Used By (20)

Swoft Framework
===============

[](#swoft-framework)

[![Latest Stable Version](https://camo.githubusercontent.com/86b44d1bea0aec0f6aa53d0c9d8fc6c7842ba5874dce32d38e9a57218d095c20/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73776f66742f6672616d65776f726b2e737667)](https://packagist.org/packages/swoft/framework)[![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 Framework Component

[中文说明](README.zh-CN.md)
-----------------------

[](#中文说明)

中文说明请查看 [README.zh-CN.md](README.zh-CN.md)

Install
-------

[](#install)

- composer command

```
composer require swoft/framework
```

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

47

—

FairBetter than 94% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity47

Moderate usage in the ecosystem

Community45

Growing community involvement

Maturity71

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~134 days

Total

50

Last Release

1837d ago

Major Versions

v0.2.6 → v1.0.12018-03-06

v1.0.28 → 2.0.x-dev2019-01-21

1.x-dev → v2.0.02019-05-20

PHP version history (2 changes)v1.0.0PHP &gt;=7.0

v2.0.0PHP &gt;=7.1

### Community

Maintainers

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

---

Top Contributors

[![stelin](https://avatars.githubusercontent.com/u/1677543?v=4)](https://github.com/stelin "stelin (334 commits)")[![inhere](https://avatars.githubusercontent.com/u/5302062?v=4)](https://github.com/inhere "inhere (321 commits)")[![huangzhhui](https://avatars.githubusercontent.com/u/12077148?v=4)](https://github.com/huangzhhui "huangzhhui (288 commits)")[![limingxinleo](https://avatars.githubusercontent.com/u/16648551?v=4)](https://github.com/limingxinleo "limingxinleo (59 commits)")[![swoft-bot](https://avatars.githubusercontent.com/u/43714909?v=4)](https://github.com/swoft-bot "swoft-bot (51 commits)")[![aprchen](https://avatars.githubusercontent.com/u/13740363?v=4)](https://github.com/aprchen "aprchen (33 commits)")[![whiteCcinn](https://avatars.githubusercontent.com/u/13690966?v=4)](https://github.com/whiteCcinn "whiteCcinn (25 commits)")[![DeivaLiang](https://avatars.githubusercontent.com/u/12182319?v=4)](https://github.com/DeivaLiang "DeivaLiang (13 commits)")[![HZMarico](https://avatars.githubusercontent.com/u/15900595?v=4)](https://github.com/HZMarico "HZMarico (6 commits)")[![daydaygo](https://avatars.githubusercontent.com/u/3986303?v=4)](https://github.com/daydaygo "daydaygo (4 commits)")[![wujunze](https://avatars.githubusercontent.com/u/12997869?v=4)](https://github.com/wujunze "wujunze (4 commits)")[![tanpeng](https://avatars.githubusercontent.com/u/2149695?v=4)](https://github.com/tanpeng "tanpeng (3 commits)")[![luxin88](https://avatars.githubusercontent.com/u/874056?v=4)](https://github.com/luxin88 "luxin88 (3 commits)")[![assert6](https://avatars.githubusercontent.com/u/28561563?v=4)](https://github.com/assert6 "assert6 (3 commits)")[![panyongwei](https://avatars.githubusercontent.com/u/6112421?v=4)](https://github.com/panyongwei "panyongwei (3 commits)")[![adotpeng](https://avatars.githubusercontent.com/u/30491090?v=4)](https://github.com/adotpeng "adotpeng (2 commits)")[![q593374099](https://avatars.githubusercontent.com/u/270533879?v=4)](https://github.com/q593374099 "q593374099 (2 commits)")[![rlgy](https://avatars.githubusercontent.com/u/16437400?v=4)](https://github.com/rlgy "rlgy (2 commits)")[![sakuraovq](https://avatars.githubusercontent.com/u/30211214?v=4)](https://github.com/sakuraovq "sakuraovq (2 commits)")[![shixinke](https://avatars.githubusercontent.com/u/9602010?v=4)](https://github.com/shixinke "shixinke (2 commits)")

---

Tags

annotation-frameworkaopcoroutineframeworkmicroservicephprpcsoaswoftswoolephpswooleswoftswoft-framework

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[hyperf/hyperf-skeleton

A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middlewares.

301187.4k](/packages/hyperf-hyperf-skeleton)

PHPackages © 2026

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