PHPackages                             alanchang15/swooleigniter - 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. alanchang15/swooleigniter

ActiveCi-extension[Framework](/categories/framework)

alanchang15/swooleigniter
=========================

speed up codeigniter with swoole

4291[1 issues](https://github.com/alanchang15/swooleigniter/issues)PHP

Since Dec 12Pushed 6y agoCompare

[ Source](https://github.com/alanchang15/swooleigniter)[ Packagist](https://packagist.org/packages/alanchang15/swooleigniter)[ RSS](/packages/alanchang15-swooleigniter/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Swooleigniter
=============

[](#swooleigniter)

speed up codeigniter with swoole

Codeigniter Composer Configuration
----------------------------------

[](#codeigniter-composer-configuration)

```
Open the application/config/autoload.php file and add the item you want loaded to the autoload array.
$config['composer_autoload'] = '../vendor/autoload.php'

```

Install
-------

[](#install)

```
Open the composer.json add the extra property.
{
    "extra": {
        "installer-types": ["ci-extension"],
        "installer-paths": {
            "{$name}/": ["ci-extension"]
        }
    }
}

```

```
$ cd /PATH/TO/CODEIGNITER/PROJECT
$ composer require oomphinc/composer-installers-extender
$ composer require alanchang15/swooleigniter
```

Require
-------

[](#require)

- PHP &gt;= 7.0.0
- Codeigniter Framwork &gt;= 3.0.4
- Swoole &gt;= 4.0.0

Usage
-----

[](#usage)

```
$ php swooleigniter/command swoole:http start
$ php swooleigniter/command swoole:http stop
$ php swooleigniter/command swoole:http restart
$ php swooleigniter/command swoole:http status
$ php swooleigniter/command swoole:http reload
$ php swooleigniter/command swoole:http auto-reload

```

Nginx Configuration
-------------------

[](#nginx-configuration)

```
server {
    root /var/www/html;
    server_name www.domain.com;

    location / {
        fastcgi_param CI_ENV production;
        proxy_http_version 1.1;
        proxy_set_header Connection "keep-alive";
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header Host $host;
        if (!-e $request_filename) {
             proxy_pass http://127.0.0.1:1215;
        }
    }
}

```

Apache Configuration
--------------------

[](#apache-configuration)

```

    ServerName www.domain.com
    DocumentRoot /var/www/html
    DirectoryIndex index.html index.php

        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted

        RewriteEngine On
        RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
        RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ http://127.0.0.1:1215$1 [L,P]

```

###### OR

[](#or)

```

    ServerName www.domain.com
    DocumentRoot /var/www/html
    DirectoryIndex index.html index.php

        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted

   ProxyPass /admin !
   ProxyPass /index.html !
   ProxyPass /static !
   ProxyPass / http://127.0.0.1:1215/

```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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/521a1176ca987a5302f5b01413fe28108591d9ea036eee0ddb2be6f94d0fdd74?d=identicon)[alanchang15](/maintainers/alanchang15)

---

Top Contributors

[![alanchang15](https://avatars.githubusercontent.com/u/6889334?v=4)](https://github.com/alanchang15 "alanchang15 (64 commits)")

### Embed Badge

![Health badge](/badges/alanchang15-swooleigniter/health.svg)

```
[![Health](https://phpackages.com/badges/alanchang15-swooleigniter/health.svg)](https://phpackages.com/packages/alanchang15-swooleigniter)
```

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