mevdschee/php-crud-api
Single file PHP script that adds a REST API to a SQL database observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 97
- Release rhythm 90
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 1
- age_days: 4223
- days_rel: 65
- days_push: 22
- n_releases_24m: 10
Adoption not part of the score
3740 stars · 1029 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A single-file PHP script that automatically exposes a full-featured REST API on top of a MySQL/MariaDB, PostgreSQL, SQL Server, or SQLite database. It supports OpenAPI/Swagger documentation, middleware (CORS, auth, pagination), and spatial features via PostGIS or MySQL spatial extensions.
Use cases
- expose a mysql database as a rest api
- generate a crud api for postgresql tables
- instant rest api for sqlite without writing backend code
- serve geo from postgis via an api
- add a restful api layer to an existing sql server database
- auto-generate openapi swagger docs for a database api
- prototype a backend api quickly from a database schema
When to choose
- you need a REST API over an existing SQL database with minimal setup
- you want a zero-build, single-file deployable API server in PHP
- you need automatic OpenAPI documentation for database endpoints
- you want spatial/geo support in your API
When to avoid
- you need complex custom business logic beyond CRUD operations
- your stack is not PHP and you prefer a native-language API layer
- you need GraphQL or non-REST protocols
- you require fine-grained per-endpoint control that middleware cannot express
Facets
application · maturity stable
api-framework http-server routing middleware database auth geospatial api-gateway web-development backend apis databases developer-tools php self-hosted cross-platform rest-api crud single-file openapi swagger mysql postgresql sqlserver sqlite postgis geo treeql automatic-api web-server
1 source
- readme: https://github.com/mevdschee/php-crud-api · fetched 2026-08-28 · 8608f0c198b4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mevdschee/php-crud-api | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="mevdschee/php-crud-api")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem