Search by

jk / restserver

jkohl

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

Package info

github.com/jk/RestServer

Wiki

pkg:composer/jk/restserver

Statistics

Installs: 232

Dependents: 1

Suggesters: 0

Stars: 12

Open Issues: 9

2.0.0-alpha17 2024-03-04 15:02 UTC

README

CI Latest Stable Version License Total Downloads Documentation Status

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.

As of Classification of HTTP-based APIs 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.

Development

Requires PHP 8.3 or newer.

composer install
composer test     # run the PHPUnit test suite
composer cs       # check coding style (PER-CS)
composer cs-fix   # fix coding style