PHPackages                             alan/yii2-swoole-task - 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. alan/yii2-swoole-task

ActiveLibrary

alan/yii2-swoole-task
=====================

yii2 frame swoole task

1.0.0(7y ago)03MITPHP

Since Nov 9Pushed 7y ago1 watchersCompare

[ Source](https://github.com/wzzjjboy/swoole-task)[ Packagist](https://packagist.org/packages/alan/yii2-swoole-task)[ RSS](/packages/alan-yii2-swoole-task/feed)WikiDiscussions master Synced 2mo ago

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

swoole-task
===========

[](#swoole-task)

使用方法： 1.composer require alan/yii2-swoole-task 2.配置yii2框架的DB，执行数据迁移 php yii migrate/up --migrationPath=@alan/task/migrations 3.添加管理脚本 4.配置swoole组件 'swoole' =&gt; \[ 'class' =&gt; 'common\\asyncTasks\\basic\\Swoole', 'host' =&gt; '127.0.0.1', 'port' =&gt; '9501', 'taskWorkerNum' =&gt; '3', 'daemonize' =&gt; true, \],

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Unknown

Total

1

Last Release

2740d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

snowflake

### Embed Badge

![Health badge](/badges/alan-yii2-swoole-task/health.svg)

```
[![Health](https://phpackages.com/badges/alan-yii2-swoole-task/health.svg)](https://phpackages.com/packages/alan-yii2-swoole-task)
```

###  Alternatives

[kra8/laravel-snowflake

Snowflake for Laravel and Lumen.

188402.3k6](/packages/kra8-laravel-snowflake)[hyperf/snowflake

A snowflake library

25808.0k59](/packages/hyperf-snowflake)[identifier/identifier

Common Interfaces and Factories for Identifiers

3226.2k1](/packages/identifier-identifier)[wantp/snowflake

A package for create unique id by snowflake

399.5k1](/packages/wantp-snowflake)[ramsey/identifier

A PHP library for generating and working with identifiers, including UUIDs, ULIDs, and Snowflakes

603.0k1](/packages/ramsey-identifier)[hafael/laraflake

Laravel Package based on Twitter Snowflake ID Generator (64 bit ID).

287.9k1](/packages/hafael-laraflake)

PHPackages © 2026

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