Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.36 KB

README.md

File metadata and controls

28 lines (22 loc) · 1.36 KB

RestServer.php

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