PHPackages                             swoft/swlib - 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/swlib

ActiveLibrary

swoft/swlib
===========

Some swoole helpr utils for swoft

v2.0.1(6y ago)233.6k—0%33Apache-2.0PHPPHP &gt;7.1

Since Nov 10Pushed 4y ago2 watchersCompare

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

READMEChangelog (2)Dependencies (1)Versions (3)Used By (3)

Swlib
=====

[](#swlib)

[![Latest Stable Version](https://camo.githubusercontent.com/30296bd7e4b724502c49dae18528cf6e3fef2fa8b625db04caa74d7e7c6a905c/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73776f66742f73776c69622e737667)](https://packagist.org/packages/swoft/swlib)[![Php Version](https://camo.githubusercontent.com/c197ef1e57a32c886b2a54d02ead7dbc035f18b3f39a642703b9372eef7819f9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2533453d372e312d627269676874677265656e2e7376673f6d61784167653d32353932303030)](https://secure.php.net/)[![Library License](https://camo.githubusercontent.com/1c419f89412ea6c234c184ad6d85decb127c18584858d3707ae7d8e2131eccc4/68747470733a2f2f696d672e736869656c64732e696f2f686578706d2f6c2f706c75672e7376673f6d61784167653d32353932303030)](https://github.com/swoft-cloud/swoft-swlib/blob/master/LICENSE)

Some swoole helper utils for swoft

Install
-------

[](#install)

- install by composer

```
composer require swoft/swlib
```

LICENSE
-------

[](#license)

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

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% 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 ~66 days

Total

2

Last Release

2305d ago

### 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 (14 commits)")[![iyzrj](https://avatars.githubusercontent.com/u/14905973?v=4)](https://github.com/iyzrj "iyzrj (2 commits)")

---

Tags

swoftswoft-componentswooleswooleswoftswoft-component

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[swoft/swoole-ide-helper

IDE helper for Swoft and Swoole

41322.9k145](/packages/swoft-swoole-ide-helper)[swoft/devtool

Devtool for swoft framework

26154.1k5](/packages/swoft-devtool)[swoft/db

swoft database component

24167.4k11](/packages/swoft-db)[swoft/redis

swoft redis component

12168.4k16](/packages/swoft-redis)

PHPackages © 2026

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