Single file PHP script that adds a REST API to a SQL database

api-server automatic-api crud database geojson geospatial multi-database mysql openapi php php-api postgis postgresql rest-api restful sql-database sqlite sqlserver swagger
2 Open Issues Need Help Last updated: Sep 10, 2025

Open Issues Need Help

View All on GitHub

Single file PHP script that adds a REST API to a SQL database

PHP
#api-server#automatic-api#crud#database#geojson#geospatial#multi-database#mysql#openapi#php#php-api#postgis#postgresql#rest-api#restful#sql-database#sqlite#sqlserver#swagger

AI Summary: Debug a PHP REST API (PHP-CRUD-API) issue where the OpenAPI specification (/openapi endpoint) is incomplete when read-only access is enabled. The issue seems to be related to the authorization middleware and how it interacts with the OpenAPI document generation, potentially failing to process all tables or operations when read-only mode is active. The task involves analyzing the code, identifying the point of failure in the authorization logic or OpenAPI generation, and implementing a fix to ensure that the /openapi endpoint correctly reflects all accessible paths and operations, regardless of the access level.

Complexity: 4/5
help wanted

Single file PHP script that adds a REST API to a SQL database

PHP
#api-server#automatic-api#crud#database#geojson#geospatial#multi-database#mysql#openapi#php#php-api#postgis#postgresql#rest-api#restful#sql-database#sqlite#sqlserver#swagger