PHP-CRUD-API supports custom controllers. The usage is simple:
- Create a controller file
- Import the controller and make the controller known to the API using the config parameter 'customControllers'
Update August 2022: This code may be outdated. Please refer to the project documentation about custom controllers:
https://github.com/mevdschee/php-crud-api#custom-controller