An open API service indexing awesome lists of open source software.

https://github.com/mevdschee/slim-crud-api

A SlimPHP project that uses php-crud-api (automatic REST API) as a library
https://github.com/mevdschee/slim-crud-api

Last synced: 4 months ago
JSON representation

A SlimPHP project that uses php-crud-api (automatic REST API) as a library

Awesome Lists containing this project

README

          

# slim-crud-api

This project has the minimal implementation for an "Automatic REST API for SlimPHP 4" as described in this post

https://tqdev.com/2019-automatic-rest-api-slimphp-4-minimal

Run it using:

php -S localhost:8080

And visit the URL:

http://localhost:8080/api/records/posts

Replace "posts" with the name of any table in your database. If everything works as expected, then you should see the contents of the table in JSON format.