PHPackages                             quioteframework/worker-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. [HTTP &amp; Networking](/categories/http)
4. /
5. quioteframework/worker-swoole

ActiveLibrary[HTTP &amp; Networking](/categories/http)

quioteframework/worker-swoole
=============================

Swoole worker runtime for Quiote, serving the app from an embedded Swoole HTTP server.

v2.0.1(today)00MITPHPPHP &gt;=8.5.0

Since Jul 28Pushed todayCompare

[ Source](https://github.com/quioteframework/worker-swoole)[ Packagist](https://packagist.org/packages/quioteframework/worker-swoole)[ Docs](https://github.com/quioteframework/worker-swoole)[ RSS](/packages/quioteframework-worker-swoole/feed)WikiDiscussions main Synced today

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

quioteframework/worker-swoole
=============================

[](#quioteframeworkworker-swoole)

Serves a Quiote application from an embedded [Swoole](https://swoole.com) HTTP server, via the `swoole` alias of Quiote's worker-runtime seam (`Quiote\Runtime\Worker\WorkerRuntimeInterface`).

> Developed in-tree under [quioteframework/quiote](https://github.com/quioteframework/quiote)'s `packages/worker-swoole/`. PRs go to the monorepo, not here.

Install
-------

[](#install)

```
pecl install swoole          # 5.1 or newer
composer require quioteframework/worker-swoole
```

`ext-swoole` is a composer `suggest`, not a `require`, so the package installs and type-checks without it. The runtime raises an actionable error if you try to serve without the extension.

Activate the plugin in `Config/plugins.xml`:

```

```

Set up
------

[](#set-up)

Swoole's server is started by a PHP script, so the app needs an entrypoint next to (not inside) its document root. `quiote new --runtime=swoole` generates it; for an existing app, add `swoole.php` in the application root:

```
