jk / restserver
A PHP REST server for providing a very light-weight REST API without aweful routing configuration
2.0.0-alpha17
2024-03-04 15:02 UTC
Requires
- php: ^5.6|~7|~8
- ext-json: *
- ext-pcre: *
- ext-reflection: *
Requires (Dev)
- codeclimate/php-test-reporter: dev-master
- fabpot/php-cs-fixer: ~1|~0
- mockery/mockery: >=0.9.3
- phpunit/phpunit: ~4|~0
- squizlabs/php_codesniffer: ~2|~0
Suggests
- ext-simplexml: *
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-16 02:16:25 UTC
README
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