PHPackages                             johnsquibb/rest-api - 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. johnsquibb/rest-api

ActiveProject[Framework](/categories/framework)

johnsquibb/rest-api
===================

A lightweight REST API framework

02PHP

Since Oct 16Pushed 4y ago1 watchersCompare

[ Source](https://github.com/johnsquibb/rest-api)[ Packagist](https://packagist.org/packages/johnsquibb/rest-api)[ RSS](/packages/johnsquibb-rest-api/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

php-microframework
==================

[](#php-microframework)

A minimal PHP 8 REST API built onto [php-microframework](https://github.com/johnsquibb/php-microframework).

Features
--------

[](#features)

- Automatic routing based on URL path, e.g. `https://domain/controller/method/parameters...`

Development Status
------------------

[](#development-status)

The framework is currently in development and subject to frequent change. A stable version with tagged release will be made available when ready.

Installation
------------

[](#installation)

`composer create-project johnsquibb/rest-api:dev-main`

Setup
-----

[](#setup)

Point the desired web server at the [public](public) directory and modify the contents of [index.php](public/index.php) to add additional controller search paths.

Run
---

[](#run)

Use the builtin PHP server to serve from the public directory during development:

`php -S localhost:8080 -t public`

Then visit:  to view the demo.

The Demo resource at  provides the following operations:

- GET (collection)
- GET (item)
- POST (create item)
- PUT (update item)
- DELETE (item)

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

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://avatars.githubusercontent.com/u/1144045?v=4)[John](/maintainers/johnsquibb)[@johnsquibb](https://github.com/johnsquibb)

### Embed Badge

![Health badge](/badges/johnsquibb-rest-api/health.svg)

```
[![Health](https://phpackages.com/badges/johnsquibb-rest-api/health.svg)](https://phpackages.com/packages/johnsquibb-rest-api)
```

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M299](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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