php-crud-api icon indicating copy to clipboard operation
php-crud-api copied to clipboard

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

Results 121 php-crud-api issues
Sort by recently updated
recently updated
newest added

I need to update a record (PUT), but its endpoint should support more than one query parameters or conditions, how to achieve this? For example, if there is an endpoint...

help wanted

added documentation. some new configuration settings are required and I've grouped those related to the SMTP settings into an array. see the documentation. First version, may have errors. Tested only...

Due to plesk and having other items hosted on my site, I am unable to set up the API to be used at the root location as shown in the...

help wanted

Refer to [935](https://github.com/mevdschee/php-crud-api/issues/935) Add new property `dbAuth.updateSessionData` to indicate whether the session data will be updated every `x` minutes. Also new session key (`updatedAt`) to record the time of creation/updating...

It would be great if the user data would be updated every time you call it. At the moment you have to log out and log in again when you...

enhancement

As a proposal, it would be helpful to have the prerequisites (DB schema etc.) somewhere at the top as a comment. Now, by reading the code and try and error...

enhancement

working on a project I prepared a docker-compose file to put up mysql, php, and swagger to work straight away on the php-crud-api endpoint. this is what I ended up...

enhancement

Regression issue found in PHP API v.2.14.19 and not reproducible in at least 2.14.10. An existing project which uses the 'dbAuth' authentication middleware now reports a 401 with error code...

bug

Hi there. I am trying to rename columns and get some columns to output json, but i cant get it to work. This is my configs: 'tables' => 'e506b823df49_survey_513632,demo', 'middlewares'...

help wanted

I have a MySQL database which uses a lot of binary columns for storing identifiers and hashes. In almost any case, those are needed in hex format, but the API...

enhancement