PHPackages                             socarrat/serve - 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. socarrat/serve

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

socarrat/serve
==============

Socarrat Serve takes care of tasks that involve HTTP such as routing and communication.

v0.1.0(3y ago)13[1 PRs](https://github.com/socarrat-php/serve/pulls)MITPHPCI passing

Since May 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/socarrat-php/serve)[ Packagist](https://packagist.org/packages/socarrat/serve)[ RSS](/packages/socarrat-serve/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

Socarrat\\Serve
===============

[](#socarratserve)

Flexible PHP router library.

Features
--------

[](#features)

- Simple yet flexible and powerful.
- [Event-driven](./docs/events.md).
- Does routing and supports route parameters.
- [Imperative](https://en.wikipedia.org/wiki/Imperative_programming) route declaration.
- Similar [Express.js](https://expressjs.com/) for Node or [`ServeMux`](https://pkg.go.dev/net/http#ServeMux) for Go.

[Documentation](./docs/readme.md)
---------------------------------

[](#documentation)

[Read the documentation here](./docs/readme.md).

Copyright
---------

[](#copyright)

(c) 2023 Romein van Buren. Licensed under the MIT license.

For the full copyright and license information, please view the [`license.md`](./license.md) file that was distributed with this source code.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity5

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1095d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/80e830e4767cfe6a30503054d4b2c80b571bb5e8ec22ceddf28191e8a58f07f0?d=identicon)[Roman1001](/maintainers/Roman1001)

---

Top Contributors

[![garraflavatra](https://avatars.githubusercontent.com/u/34036573?v=4)](https://github.com/garraflavatra "garraflavatra (37 commits)")

---

Tags

http-serverrouter

### Embed Badge

![Health badge](/badges/socarrat-serve/health.svg)

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

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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