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
- Host: GitHub
- URL: https://github.com/mevdschee/slim-crud-api
- Owner: mevdschee
- Created: 2019-09-27T15:20:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-03T05:45:43.000Z (over 6 years ago)
- Last Synced: 2025-08-21T16:53:37.253Z (5 months ago)
- Language: PHP
- Homepage:
- Size: 1000 Bytes
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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.