PHPackages                             jiyis/laravel-swoole - 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. jiyis/laravel-swoole

ActiveProject[Framework](/categories/framework)

jiyis/laravel-swoole
====================

Speed up laravel framework with swoole.

01PHP

Since May 4Pushed 8y ago1 watchersCompare

[ Source](https://github.com/jiyis/laravel-swoole)[ Packagist](https://packagist.org/packages/jiyis/laravel-swoole)[ RSS](/packages/jiyis-laravel-swoole/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel-Swoole
==============

[](#laravel-swoole)

[![php-badge](https://camo.githubusercontent.com/824c5c4ccb56537db3b3b53bb43d7b8edc6286f3b3d1705525e0821dfd22d27e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e312d3838393242462e737667)](https://camo.githubusercontent.com/824c5c4ccb56537db3b3b53bb43d7b8edc6286f3b3d1705525e0821dfd22d27e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e312d3838393242462e737667)[![packagist-badge](https://camo.githubusercontent.com/80f981e6613c06efdca038d3be0e81929befba2c575c15b7f75513cc2e24b273/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73776f6f6c6574772f6c61726176656c2d73776f6f6c652e737667)](https://packagist.org/packages/swooletw/laravel-swoole)[![Total Downloads](https://camo.githubusercontent.com/9af3545159810a50e34149ca3fbbce7c48e0a12c3a726361e3b779117a9c00df/68747470733a2f2f706f7365722e707567782e6f72672f73776f6f6c6574772f6c61726176656c2d73776f6f6c652f646f776e6c6f616473)](https://packagist.org/packages/swooletw/laravel-swoole)[![travis-badge](https://camo.githubusercontent.com/8fd0b20a37b4fb58dab072f0afe2359b718d06441baaf9e949873917ef170cac/68747470733a2f2f6170692e7472617669732d63692e6f72672f73776f6f6c6574772f6c61726176656c2d73776f6f6c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/swooletw/laravel-swoole)

This package provides a high performance HTTP server to speed up your Laravel/Lumen application based on [Swoole](http://www.swoole.com/).

Version Compatibility
---------------------

[](#version-compatibility)

PHPLaravelLumenSwoole&gt;=7.1~5.1~5.1&gt;=1.9.3Features
--------

[](#features)

- Run **Laravel/Lumen** application on top of **Swoole**.
- Outstanding performance boosting up to **30x**.
- Sandbox mode to isolate app container.
- Support running websocket server in **Laravel**.
- Support `Socket.io` protocol.
- Support Swoole table for cross-process data sharing.

Documentation
-------------

[](#documentation)

Please see [Wiki](https://github.com/swooletw/laravel-swoole/wiki)

Benchmark
---------

[](#benchmark)

Test with clean Lumen 5.5, using MacBook Air 13, 2015. Benchmarking Tool: [wrk](https://github.com/wg/wrk)

```
wrk -t4 -c100 http://your.app

```

### Nginx with FPM

[](#nginx-with-fpm)

```
Running 10s test @ http://lumen.app:9999
  4 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.14s   191.03ms   1.40s    90.31%
    Req/Sec    22.65     10.65    50.00     65.31%
  815 requests in 10.07s, 223.65KB read
Requests/sec:     80.93
Transfer/sec:     22.21KB

```

### Swoole HTTP Server

[](#swoole-http-server)

```
Running 10s test @ http://127.0.0.1:5333
  4 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    11.58ms    4.74ms  68.73ms   81.63%
    Req/Sec     2.19k   357.43     2.90k    69.50%
  87879 requests in 10.08s, 15.67MB read
Requests/sec:   8717.00
Transfer/sec:      1.55MB

```

Support
-------

[](#support)

Bugs and feature request are tracked on [Github](https://github.com/swooletw/laravel-swoole/issues).

Credits
-------

[](#credits)

[SwooleTw](https://github.com/swooletw)

License
-------

[](#license)

The Laravel-Swoole package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

Support on Beerpay
------------------

[](#support-on-beerpay)

Hey dude! Help me out for a couple of 🍻!

[![Beerpay](https://camo.githubusercontent.com/22c9ec7e6308bca7b75164cd5cd0fe4bb3414fcd2beb9099e0946c81c301023a/68747470733a2f2f626565727061792e696f2f73776f6f6c6574772f6c61726176656c2d73776f6f6c652f62616467652e7376673f7374796c653d626565722d737175617265)](https://beerpay.io/swooletw/laravel-swoole) [![Beerpay](https://camo.githubusercontent.com/371106dcc253d3ab224fd41d47af05a40baa15daf74377f6cdd3bfa538262092/68747470733a2f2f626565727061792e696f2f73776f6f6c6574772f6c61726176656c2d73776f6f6c652f6d616b652d776973682e7376673f7374796c653d666c61742d737175617265)](https://beerpay.io/swooletw/laravel-swoole?focus=wish)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

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

---

Top Contributors

[![jiyis](https://avatars.githubusercontent.com/u/8382195?v=4)](https://github.com/jiyis "jiyis (2 commits)")

### Embed Badge

![Health badge](/badges/jiyis-laravel-swoole/health.svg)

```
[![Health](https://phpackages.com/badges/jiyis-laravel-swoole/health.svg)](https://phpackages.com/packages/jiyis-laravel-swoole)
```

###  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)
