# swooletw/laravel-swoole

High performance HTTP server based on Swoole. Speed up your Laravel or Lumen applications.

Repository: https://github.com/swooletw/laravel-swoole
Canonical: https://ross.abutalabs.com/products/laravel-swoole
Language: PHP
License: MIT
License Family: permissive
Topics: swoole, swoole-server, swoole-http, laravel-swoole, lumen, websocket, socket-io, laravel, php
Archived: true
Last push: 2025-03-24T07:00:14+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 13, release rhythm 8, longevity 100
- inputs: {"age_days": 3222, "days_push": 527, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4028, forks 381 (observed 2026-08-28T04:08:32.682945+00:00)

## What it is
A PHP composer package that runs Laravel and Lumen applications on a high-performance Swoole-based HTTP server, benchmarked up to 5x faster than Nginx with PHP-FPM. It also supports running WebSocket and Socket.io servers within Laravel, with sandboxed app container isolation and cross-process data sharing via Swoole tables.

## Use cases
- speed up my laravel application performance
- run laravel or lumen on a swoole http server
- serve a php app without nginx and php-fpm
- add a websocket server to laravel
- build a socket.io server inside a laravel app
- boost requests per second for a lumen api
- share data between php worker processes

## When to choose
- You need to significantly increase request throughput of an existing Laravel/Lumen app without rewriting application code
- You want to serve WebSockets or Socket.io directly from a Laravel application
- You are on older Laravel (>=5.5) or PHP (>=7.2) versions that Laravel Octane does not support

## When to avoid
- Starting a new project - the README explicitly recommends Laravel's official laravel/octane instead
- You need long-term maintenance and security updates - the package is no longer maintained
- You need coroutine support - the README points to Hypervel for higher-performance coroutine-based Laravel-style development

## Facets
- artifact type: plugin
- maturity: abandoned
- function: http-server, websocket, middleware
- domain: web-development, backend, performance
- platform: php, cross-platform
- tags: laravel, lumen, swoole, socket-io, php-package, high-performance, http-server, websocket-server, unmaintained, octane-alternative, linux, macos

## Member repositories
- swooletw/laravel-swoole (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:32.682945+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:23:52.661768+00:00, confidence not recorded.
  - readme: https://github.com/swooletw/laravel-swoole (fetched 2026-08-28T04:08:32.682945+00:00, sha 0d4e1f12cf73)
- Data as of 2026-08-30T08:39:29.467469+00:00.
