PHPackages                             jk/restserver - 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. [API Development](/categories/api)
4. /
5. jk/restserver

ActiveLibrary[API Development](/categories/api)

jk/restserver
=============

A PHP REST server for providing a very light-weight REST API without aweful routing configuration

1.0.1(11y ago)122328[6 issues](https://github.com/jk/RestServer/issues)1MITPHPPHP &gt;= 5.3.13CI failing

Since Jan 3Pushed 1y ago3 watchersCompare

[ Source](https://github.com/jk/RestServer)[ Packagist](https://packagist.org/packages/jk/restserver)[ Docs](https://github.com/jk/RestServer)[ RSS](/packages/jk-restserver/feed)WikiDiscussions develop Synced today

READMEChangelog (1)Dependencies (4)Versions (26)Used By (1)

RestServer.php
==============

[](#restserverphp)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/e2eae4333a1c1e25de1bf3f9a8fd47c18a7e240d39cedc28413086ce5b7eec2f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a6b2f526573745365727665722f6261646765732f7175616c6974792d73636f72652e706e673f733d66373364303362663331643339616536643865363731376535396662333765653966303730613265)](https://scrutinizer-ci.com/g/jk/RestServer/)[![Code Coverage](https://camo.githubusercontent.com/ad9a9fcc0364c10b62cb1792d28027370faeaefa3cac03a147e6e3ffe0633b82/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a6b2f526573745365727665722f6261646765732f636f7665726167652e706e673f733d30346263656366303838666562633138396633653766383736383032646566336264376135653136)](https://scrutinizer-ci.com/g/jk/RestServer/)[![Latest Stable Version](https://camo.githubusercontent.com/f443befa57e106a54d38732ba8f2582b089977a60c77c8a98b7fdda1255cc932/68747470733a2f2f706f7365722e707567782e6f72672f6a6b2f726573747365727665722f762f737461626c652e737667)](https://packagist.org/packages/jk/restserver)[![License](https://camo.githubusercontent.com/f84b1836bba458579a3e02b8759e53cd47efa5b6b939f30c3fa6eb399c0f6680/68747470733a2f2f706f7365722e707567782e6f72672f6a6b2f726573747365727665722f6c6963656e73652e737667)](https://packagist.org/packages/jk/restserver)[![Total Downloads](https://camo.githubusercontent.com/70a34339202a46164fde31c3a139ee1656165c6ed33f87088b9f6a6e827a1629/68747470733a2f2f706f7365722e707567782e6f72672f6a6b2f726573747365727665722f646f776e6c6f6164732e737667)](https://packagist.org/packages/jk/restserver)[![SensioLabsInsight](https://camo.githubusercontent.com/31d340eb727cd25fb886ad351b1c7546aa3b1820357b7e27f8c9dd1b26068ffe/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f65666130633437642d336666612d346663382d623435362d3138643265646432393835312f6d696e692e706e67)](https://insight.sensiolabs.com/projects/efa0c47d-3ffa-4fc8-b456-18d2edd29851)[![Documentation Status](https://camo.githubusercontent.com/f9c4f3f53813fdcb7df3fedd18a9bc5a0ee727c9ccf769d39b97d5867c4d3bb5/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f726573747365727665722f62616467652f3f76657273696f6e3d646576656c6f70)](https://readthedocs.org/projects/restserver/?badge=develop)

Master branchDevelop branch[![Master Build Status](https://camo.githubusercontent.com/c6c1d8a753731c5b5a11c43293acfc2f12235a723ac075a1f03ee8dd4a1e3795/68747470733a2f2f7472617669732d63692e6f72672f6a6b2f526573745365727665722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jk/RestServer)[![Develop Build Status](https://camo.githubusercontent.com/5203855824bc7123063a6bf114a7393d3cb140683218e6215c19c1b22f0bc54f/68747470733a2f2f7472617669732d63692e6f72672f6a6b2f526573745365727665722e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/jk/RestServer)A PHP REST server for providing a very light-weight REST API. Very easy to set up and get going. Independent from other libraries and frameworks. Supports HTTP authentication. Supports AMF data if the Zend Framework is present for Flash clients.

As of [Classification of HTTP-based APIs](https://algermissen.io/classification_of_http_apis.html) this implementation should be considered as an HTTP based type II type of an API. So it is not an academic version of a real RESTful API, but this is by intention, so it's easy to understand and install.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance22

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 94.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 ~186 days

Recently: every ~528 days

Total

19

Last Release

851d ago

Major Versions

1.0.1 → 2.0.0-alpha12015-01-19

PHP version history (3 changes)1.0.0PHP &gt;= 5.3.13

2.0.0-alpha15PHP ^5.6|~7

2.0.0-alpha16PHP ^5.6|~7|~8

### Community

Maintainers

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

---

Top Contributors

[![jk](https://avatars.githubusercontent.com/u/40043?v=4)](https://github.com/jk "jk (270 commits)")[![jacwright](https://avatars.githubusercontent.com/u/120294?v=4)](https://github.com/jacwright "jacwright (5 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (3 commits)")[![nusphere](https://avatars.githubusercontent.com/u/5822825?v=4)](https://github.com/nusphere "nusphere (3 commits)")[![ocramleznem](https://avatars.githubusercontent.com/u/1401770?v=4)](https://github.com/ocramleznem "ocramleznem (3 commits)")[![hkerem](https://avatars.githubusercontent.com/u/153634?v=4)](https://github.com/hkerem "hkerem (2 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jk-restserver/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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