php-crud-api
php-crud-api copied to clipboard
Single file PHP script that adds a REST API to a SQL database
join returns a subobject array even if it has a 1 to 1 relationship not really a problem.. just not to access the object using its index [0]
Is it possible to use views for login and also enable register end-point? I've successfully used views to login active users but the register endpoint is now throwing error. `Fatal...
Hi, I have installed `php-crud-api` on a webserver with Apache 2.4 and PHP 7.4.3 (Virtualmin). I'm using api.php with a custom controller called MyController (MyController.php). ``` $config = new Config([...
Allowing to auto-login after registration. I'm currently not able to run and write unit tests... but It's working as intended for me - and basically a simple code (manual testing)....
Hi, Can you add a feature like adding a filter option in join tables Regards
Thanks for the great work! My ultimate deployment will entail all components hosted on the same server so CORS shouldn't be an issue. For development, I'm hitting the server and...
Not an issue, just a question. Can be closed immediately if considered irrelevant. 😁 I'm just been reading about htmx, how it supposedly simplifies things in webdev. I was just...
Updated middleware to trim leading and/or trailing spaces in username. Before this, if a username is `jsmith`, `jsmith ` or ` jsmith` will result to authentication failed due to extra...
Hi. I'm trying to have good results from a call with join and filters. I have 2 tables: "**requests_details**" and "**requests**". For the "**requests**" table I set the "**authorization.recordHandler**" middleware...
Hi, Is it possible to sort on a column of a joined table? If so, how can I achieve that?