PHPackages                             psx/engine - 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. psx/engine

ActiveLibrary[Framework](/categories/framework)

psx/engine
==========

Engine to support multiple web server types

v2.0.1(5mo ago)228.6k↓33.3%5Apache-2.0PHPPHP &gt;=8.0CI passing

Since Aug 9Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/apioo/psx-engine)[ Packagist](https://packagist.org/packages/psx/engine)[ Docs](https://phpsx.org)[ Fund](https://www.paypal.me/fusioapi)[ GitHub Sponsors](https://github.com/chriskapp)[ RSS](/packages/psx-engine/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (5)Used By (5)

PSX Engine
==========

[](#psx-engine)

About
-----

[](#about)

The engine package provides multiple ways to run your PSX app in different environments. By default it uses the web server engine which is designed for classical web servers like Apache or Nginx. But in the PHP world there are lots of alternative web server solutions which can also improve the performance of your app.

Engines
-------

[](#engines)

- **Apache/NGINX**

    Classical web server like Apache or NGINX which uses either FCGI or includes PHP as module (Apache). This engine is included by default.

    - Class: `PSX\Engine\WebServer\Engine`
- **Amp**

    A HTTP server completely written in PHP

    - Github:
    - Package: `psx/engine-amp`
    - Class: `PSX\Engine\Amp\Engine`
- **Swoole**

    The HTTP server written as PHP extension in C/C++

    - Github:
    - Package: `psx/engine-swoole`
    - Class: `PSX\Engine\Swoole\Engine`
- **Roadrunner**

    The HTTP server written in GO and uses

    - Github:
    - Package: `psx/engine-roadrunner`
    - Class: `PSX\Engine\Roadrunner\Engine`

Usage
-----

[](#usage)

To use a different engine simply require the package through composer. Then you need to adjust your index.php and use the fitting engine class.

```
require_once(__DIR__ . '/../vendor/autoload.php');

$container = require_once(__DIR__ . '/../container.php');

$engine      = null; # adjust the engine class
$environment = \PSX\Framework\Environment\Environment::fromContainer($container, $engine);

$environment->serve();
```

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance72

Regular maintenance activity

Popularity30

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Every ~650 days

Total

4

Last Release

156d ago

Major Versions

v0.1.0 → v1.0.02021-12-26

v1.0.0 → v2.0.02023-03-26

PHP version history (2 changes)v0.1.0PHP &gt;=7.2

v1.0.0PHP &gt;=8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2505846?v=4)[Christoph Kappestein](/maintainers/chriskapp)[@chriskapp](https://github.com/chriskapp)

---

Top Contributors

[![chriskapp](https://avatars.githubusercontent.com/u/2505846?v=4)](https://github.com/chriskapp "chriskapp (18 commits)")

---

Tags

frameworkenginePSX

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/psx-engine/health.svg)

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

###  Alternatives

[pestphp/pest-plugin-stressless

Stressless plugin for Pest

67792.6k16](/packages/pestphp-pest-plugin-stressless)

PHPackages © 2026

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