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

Hello I try to get the Auth0 authentification to work, but i'm stuck with a 1012 code Authentication failed for 'JWT' I've read and try several solutions from the doc,...

help wanted

Hi. How can I allow guest users (so with no auth) to make a POST call to create a record on a specific table? I'd like to allow this only...

help wanted

Hi. I'm trying to use the sanitation.handler on /register endpoint. It's not working... seems... or I'm not using it in the correct way. This is my code: ``` 'sanitation.handler' =>...

help wanted

Hello. I want connect php-crud-api on MariaDB who accepts TLS connections only. It's work if, in PHP code, I modify the function "getOptions" for adding those lines in mysql options...

enhancement

Hi all, I'd like to return a custom error message for failed authorization.tableHandler. Now it gets me "table not found" only, but I want to differentiate between several states. One...

help wanted

Hi, I have the following configuration: A "Users" table with columns id, username and password (hash), tenant_id and role. The following configuration of the api.php ``` 'address' => 'db', 'username'...

help wanted

Hello, I'm developing a small project with react-admin as frontend and php-crud-api as backend. I've set it up correctly and deployed. On production site it is working fine, but if...

help wanted

I had an expectation that if I created a custom controller, it would automatically get picked up in OpenAPI documentation. However I don't see my custom route listed when viewing...

enhancement

I'm using dbAuth for a project and one issue I encounter is that the username is not sanitized even if the sanitation middleware is active. For example, a user can...

help wanted