PHPackages                             waryway/micro-service-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. [HTTP &amp; Networking](/categories/http)
4. /
5. waryway/micro-service-engine

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

waryway/micro-service-engine
============================

ReactPHP server for use in micro-service applications

1.0.6(5y ago)26681[1 PRs](https://github.com/Waryway/MicroServiceEngine/pulls)MITPHPCI passing

Since Nov 19Pushed 4w ago1 watchersCompare

[ Source](https://github.com/Waryway/MicroServiceEngine)[ Packagist](https://packagist.org/packages/waryway/micro-service-engine)[ RSS](/packages/waryway-micro-service-engine/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (8)Dependencies (4)Versions (23)Used By (0)

MicroServiceEngine
==================

[](#microserviceengine)

Base Service using ReactPHP for PHP only Microservices

Status
------

[](#status)

[![Build Status](https://camo.githubusercontent.com/d03a8967139466a366ad9ee0b8f3cac77f785531f368ad7c08977acb683a4bf7/68747470733a2f2f7472617669732d63692e6f72672f576172797761792f4d6963726f53657276696365456e67696e652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Waryway/MicroServiceEngine)

Description
-----------

[](#description)

Use this microservice engine to power you microservice! It is an extensible router / server base for ReactPHP. It provides an extremely light weight server and router combo.

The closest comparison I can think of, is express for nodejs. Only, this uses PHP!

Usage
-----

[](#usage)

Rough steps to getting this up an running. Example coming soon!

1. Create your new PHP microservice application
2. Make sure it is PSR-4!
3. Add a `Router` class at the base namespace.
4. The namespace should be something like... &lt;project&gt;
5. Run `composer update`
6. 'composer require waryway/micro-service-engine'
7. From the root directory of you new project, simply run: `vendor\bin\server.bat \ 0.0.0.0:99`
8. or for linux: `./vendor/bin/server / 0.0.0.0:99`

You can also run `vendor\bin\server.bat -h` for further information.

Router setup
------------

[](#router-setup)

Make sure to extend the BaseRouter. More details to be added in the future!

### Setting routes

[](#setting-routes)

The microservice engine is using the [nikic/fast-route](https://packagist.org/packages/nikic/fast-route) library. You can find path mapping information in the nikic/fast-route readme.

### Example Routers

[](#example-routers)

#### Example Application

[](#example-application)

#### Internal Example

[](#internal-example)

For this repository an example from within this this source code can be viewed by first running `computer install`, then second, running :

```
php server Waryway\Example 0.0.0.0:89

```

You'll be able to visit `localhost:89/index.html` and `localhost:89/hi`

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance62

Regular maintenance activity

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 98.1% 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 ~64 days

Recently: every ~6 days

Total

20

Last Release

1872d ago

Major Versions

0.2.1 → 1.0.02019-10-03

### Community

Maintainers

![](https://www.gravatar.com/avatar/a622664d9e41be88a7be91774293a54b82b0625ac942ffd911962bf0744e2973?d=identicon)[KyleWiering](/maintainers/KyleWiering)

---

Top Contributors

[![KyleWiering](https://avatars.githubusercontent.com/u/2728319?v=4)](https://github.com/KyleWiering "KyleWiering (53 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/waryway-micro-service-engine/health.svg)

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

###  Alternatives

[league/route

Fast routing and dispatch component including PSR-15 middleware, built on top of FastRoute.

6633.1M115](/packages/league-route)[middlewares/fast-route

Middleware to use FastRoute

96191.1k15](/packages/middlewares-fast-route)[discord-php/http

Handles HTTP requests to Discord servers

25318.7k8](/packages/discord-php-http)[amphp/http-server-router

Routes to request handlers based on HTTP method and path for amphp/http-server.

39496.2k28](/packages/amphp-http-server-router)[mezzio/mezzio-fastroute

FastRoute integration for Mezzio

162.7M52](/packages/mezzio-mezzio-fastroute)[clue/soap-react

Simple, async SOAP webservice client library, built on top of ReactPHP

64118.0k2](/packages/clue-soap-react)

PHPackages © 2026

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