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
- dev-develop
- 2.0.0-alpha17
- 2.0.0-alpha16
- 2.0.0-alpha15
- 2.0.0-alpha14
- 2.0.0-alpha13
- 2.0.0-alpha12
- 2.0.0-alpha11
- 2.0.0-alpha10
- 2.0.0-alpha9
- 2.0.0-alpha8
- 2.0.0-alpha7
- 2.0.0-alpha6
- 2.0.0-alpha5
- 2.0.0-alpha4
- 2.0.0-alpha3
- 2.0.0-alpha2
- 2.0.0-alpha1
- 1.0.1
- 1.0.0
- dev-chore/modernize-tooling
- dev-master
- dev-feature/swagger
- dev-feature/codacy
- dev-feature/content-negotiatien-errors
- dev-feature/add-event-dispatcher
This package is auto-updated.
Last update: 2026-11-01 17:07:03 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