CakePHP Controller only for API use
Daniel Coturel

Daniel Coturel @elcotu

About: Java and PHP programmer.

Location:
Buenos Aires
Joined:
Nov 7, 2017

CakePHP Controller only for API use

Publish Date: Apr 23 '18
11 0

Hi,

I just wanted to leave this here in case if anyone works with CakePHP 3 framework. It's a plugin written by me, that allows you to "bake" (that means, generate code) a controller only for API use.
This stands for:

1) Left the standard index, view, add, edit and delete
2) Removed every redirect
3) Added the _serialize variable setting

This is the repository:

https://github.com/dcoturel/api_controller

Also, I'm open to contributions. One thing I want to investigate is OpenGl. I think it would be useful to have an endpoint that can work with that specification and retrieve results based on filters.

Saludos,

Comments 0 total

    Add comment