What does HackerNews think of php-crud-api?
Single file PHP script that adds a REST API to a SQL database
Language:
PHP
Or use https://github.com/mevdschee/php-crud-api and skip writing queries (for basic CRUD).
> Howto: Upload "api.php" to your webserver, configure it to connect to your database, have an instant full-featured REST API.
https://github.com/mevdschee/php-crud-api does not have the features you need?