PHPackages                             cabanga/coiote-turbo - 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. cabanga/coiote-turbo

ActiveLibrary[Framework](/categories/framework)

cabanga/coiote-turbo
====================

Coiote is a lightweight, fast, and practical web server and performance accelerator for Laravel applications. Built to be simple and functional, it brings native Swoole support to Laravel without the complexity.

v1.0.0(6mo ago)514MITPHPPHP ^8.2

Since Dec 30Pushed 6mo agoCompare

[ Source](https://github.com/delcioPHP/coiote-turbo)[ Packagist](https://packagist.org/packages/cabanga/coiote-turbo)[ RSS](/packages/cabanga-coiote-turbo/feed)WikiDiscussions main Synced today

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

Coiote Turbo
============

[](#coiote-turbo)

 [![Latest Stable Version](https://camo.githubusercontent.com/798548db61a7837c28e564a1d7c442f30a1108a7ee013c9dac6f602d11ef9b52/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636162616e67612f636f696f74652d747572626f2e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/cabanga/coiote-turbo) [![Total Downloads](https://camo.githubusercontent.com/b2b12064ec89051feba45b4b15221bdcdbb85e99a1a847a98676009d56d9188a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636162616e67612f636f696f74652d747572626f2e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/cabanga/coiote-turbo) [![License](https://camo.githubusercontent.com/056e95599306a7ae638c942611036d0f5c3de78b852957a750dd79897da44896/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f636162616e67612f636f696f74652d747572626f2e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/delcioPHP/coiote-turbo/blob/main/LICENSE.md)

A fast, lightweight, and high-performance application server for Laravel, powered by Swoole. Coiote Turbo dramatically reduces latency and boosts your application's capacity by keeping the framework bootstrapped in memory.

About Coiote Turbo
------------------

[](#about-coiote-turbo)

Traditional PHP applications running under PHP-FPM have to bootstrap the entire Laravel framework on every single request. This process, while fast, introduces a small amount of latency that adds up under heavy load.

Coiote Turbo solves this by running your Laravel application on top of a powerful, event-driven Swoole server. The framework is booted only once, when the server starts, and then stays resident in memory to process thousands of requests per second with minimal overhead.

This package provides an elegant and robust way to manage the Swoole server, including integrated supervisors for your queue workers and scheduled tasks, transforming your Laravel application into a long-running, high-performance service.

Key Features
------------

[](#key-features)

- **High-Performance HTTP Server**: Serves your application directly via Swoole, eliminating the need for Nginx or Apache.
- **Drastically Reduced Latency**: By keeping the framework in memory, response times are significantly faster.
- **Integrated Queue Worker**: A multi-process queue worker supervisor, managed directly by Coiote Turbo.
- **Integrated Scheduler**: A dedicated process to run your Laravel scheduled tasks reliably.
- **Simple Configuration**: A single configuration file to manage server settings.
- **Easy-to-Use Commands**: Familiar `artisan` commands to start, stop, and monitor your server.

Requirements
------------

[](#requirements)

- PHP `^8.2`
- Laravel Framework `^10.0 || ^11.0 || ^12`
- PHP Extension: `swoole` (version `^5.1` recommended)
- PHP Extension: `pcntl` (usually included in CLI builds, required for worker management)

Shell script to install Laravel dependencies with Swoole (Ubuntu/Debian)
------------------------------------------------------------------------

[](#shell-script-to-install-laravel-dependencies-with-swoole-ubuntudebian)

```
#!/bin/bash

# Update system packages
sudo apt update

# Add ondrej/php PPA if PHP 8.2 is not available
if ! apt-cache show php8.2 >/dev/null 2>&1; then
  echo "Adding PHP 8.2 PPA..."
  sudo apt install -y software-properties-common
  sudo add-apt-repository -y ppa:ondrej/php
  sudo apt update
fi

# Install PHP 8.2 and common Laravel extensions
sudo apt install -y php8.2 php8.2-cli php8.2-common php8.2-mbstring php8.2-xml php8.2-curl php8.2-mysql php8.2-sqlite3 php8.2-zip php8.2-bcmath php8.2-intl php8.2-opcache php8.2-readline php-pear php-dev unzip curl git zlib1g-dev

# Install Composer (if not present)
if ! command -v composer &> /dev/null; then
  curl -sS https://getcomposer.org/installer | php
  sudo mv composer.phar /usr/local/bin/composer
fi

# Ensure PECL is available
sudo apt install -y php-pear php-dev

# Uninstall any existing Swoole
sudo pecl uninstall swoole || true

# Install Swoole 5.1.1 with zlib and OpenSSL support
sudo pecl install swoole-5.1.1 --enable-openssl --with-zlib

# Add Swoole to php.ini if not already present
PHP_INI=$(php --ini | grep "Loaded Configuration" | awk '{print $NF}')
if ! grep -q "extension=swoole" "$PHP_INI"; then
  echo "extension=swoole" | sudo tee -a "$PHP_INI"
fi

# Confirm Swoole + zlib is active
php --ri swoole | grep zlib

```

Installation (Coiote Turbo)
---------------------------

[](#installation-coiote-turbo)

You can install the package via Composer:

```
composer require cabanga/coiote-turbo
```

**Note**: You must have the `swoole` and `pcntl` PHP extensions installed on your server. You can usually install Swoole by running `pecl install swoole`.

Configuration
-------------

[](#configuration)

To publish the configuration file, run the following Artisan command. The configuration will be placed in `config/coioteTurbo.php`.

```
php artisan vendor:publish --provider="Cabanga\CoioteTurbo\CoioteTurboServiceProvider" --tag="config"
```

This file allows you to configure the server's host, port, number of workers, PID file location, and more.

Usage
-----

[](#usage)

Coiote Turbo is controlled via simple Artisan commands. You will run these commands on your production server, preferably managed by a process manager like `Supervisor` or `systemd`.

#### Starting the HTTP Server

[](#starting-the-http-server)

To start the main HTTP server and your application workers, run:

```
php artisan coiote:start
```

#### Running Queue Workers

[](#running-queue-workers)

To start the dedicated queue worker pool, run the `coiote:work` command. This will start a supervisor that manages multiple queue processes.

```
# Start a worker pool with 8 processes for the default queue
php artisan coiote:work

# Specify queues and connection
php artisan coiote:work --workers=4 --queue=high,default --connection=redis
```

#### Running the Scheduler

[](#running-the-scheduler)

To start the scheduler, run the `turbo:schedule` command. This will start a single, long-running process that dispatches your scheduled jobs every minute.

```
php artisan coiote:schedule
```

#### Checking Server Status

[](#checking-server-status)

To check if the main server is running, use the `status` command:

```
php artisan coiote:status
```

Setup (Docker)
--------------

[](#setup--docker)

Step 1: Copy Deployment Files
-----------------------------

[](#step-1-copy-deployment-files)

Copy the deploy folder () into the root of your Laravel project and move the Dockerfile to the root project:

Step 2: Verify Project Structure
--------------------------------

[](#step-2-verify-project-structure)

Your project structure should look like this:

```
your-laravel-project/
├── deploy/
│   ├── server.conf
│   └── start.sh
├── Dockerfile
├── composer.json
├── composer.lock
└── ...

```

---

Step 3: Configure Server
------------------------

[](#step-3-configure-server)

Edit `deploy/server.conf` to customize how Coiote Turbo starts.

```
# Start the HTTP server with 2 worker processes
command:start=php artisan coiote:start

# Start the queue worker with high and default priority queues using Redis
# command:queue=php artisan coiote:work --queue=high,default --connection=redis

# Start the queue worker in default mode
# command:queue=php artisan coiote:work

# Start the task scheduler process
# command:schedule=php artisan coiote:schedule
```

Uncomment or adjust commands based on the desired process:

- `start`: HTTP server
- `queue`: queue worker
- `schedule`: scheduler

---

### Build the Docker Image

[](#build-the-docker-image)

```
# Build with default PHP version (8.2)
docker build -t your-app-name .
docker run -p 9000:9000 your-app-name
```

License
-------

[](#license)

The Coiote Turbo is open-source software licensed under the MIT license.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance68

Regular maintenance activity

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

185d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4d6aae00e78aa52cd5ab12ab38ad0e7d075f94f8f3b40d52477a6f490dc5b2d1?d=identicon)[delcio](/maintainers/delcio)

---

Top Contributors

[![delcioPHP](https://avatars.githubusercontent.com/u/15670746?v=4)](https://github.com/delcioPHP "delcioPHP (19 commits)")

---

Tags

laravelperformanceswooleturbocoiote

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cabanga-coiote-turbo/health.svg)

```
[![Health](https://phpackages.com/badges/cabanga-coiote-turbo/health.svg)](https://phpackages.com/packages/cabanga-coiote-turbo)
```

###  Alternatives

[laravel/octane

Supercharge your Laravel application's performance.

4.0k26.6M222](/packages/laravel-octane)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[laravel/nightwatch

The official Laravel Nightwatch package.

36210.1M36](/packages/laravel-nightwatch)[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3991.8k](/packages/codewithdennis-larament)

PHPackages © 2026

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