PHPackages                             yaozhibo/swoole\_framework\_libs - 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. yaozhibo/swoole\_framework\_libs

ActiveLibrary[Framework](/categories/framework)

yaozhibo/swoole\_framework\_libs
================================

Encapsulating swoole's framework libs.

1.0.2(7y ago)3321MITPHPPHP &gt;=7.0.0

Since May 15Pushed 7y ago2 watchersCompare

[ Source](https://github.com/yaozhibo/swoole_framework_libs)[ Packagist](https://packagist.org/packages/yaozhibo/swoole_framework_libs)[ RSS](/packages/yaozhibo-swoole-framework-libs/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

swoole\_framework\_libs
=======================

[](#swoole_framework_libs)

This is a vendor base on swoole, to speed up laravel/lumen.

install
=======

[](#install)

```
composer require yaozhibo/swoole_framework_libs
```

register
========

[](#register)

- modify config/app.php

```
'providers' =>
[
.
.
.
\YSwoole\YSwooleHttpProvider::class,
\YSwoole\Providers\LaraServiceProvider::class
//if your app was biult in Lumen, \YSwoole\Providers\LumenServiceProvider::class instead.
.
.
.
]
```

publish
=======

[](#publish)

```
php artisan vendor:publish --provider="YSwoole\YSwooleHttpProvider"
```

config
======

[](#config)

- modify http server ip and port in .env

```
SWOOLE_HTTP_HOST=ip       #default:0.0.0.0
SWOOLE_HTTP_PORT=port     #default:8333
SWOOLE_HTTP_DAEMONZE=true #default:false
```

db.connection
=============

[](#dbconnection)

- modify db connection in .env to enable mysql coroutine

```
DB_CONNECTION=swoole_mysql_coroutine
```

controller
==========

[](#controller)

if your php version is lower than 7.1, you need to use

```
php artisan make:yscontroller
```

to generate controller, or you could not use controller to finish mysql operation.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

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

Every ~98 days

Total

3

Last Release

2726d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.4.0

1.0.1PHP &gt;=7.0.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/29009576?v=4)[yaozhibo](/maintainers/yaozhibo)[@yaozhibo](https://github.com/yaozhibo)

---

Top Contributors

[![yaozhibo](https://avatars.githubusercontent.com/u/29009576?v=4)](https://github.com/yaozhibo "yaozhibo (27 commits)")

### Embed Badge

![Health badge](/badges/yaozhibo-swoole-framework-libs/health.svg)

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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