D
D
dmitriy2017-02-18 12:04:23
PHP
dmitriy, 2017-02-18 12:04:23

Where can I find an example of organizing controllers for REST api with response codes?

using Symfony\Component\HttpFoundation\Response and FastRoute

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bioroot, 2017-02-23
@dmitriylanets

Purely my opinion, but I would suggest taking a look at dreamfactory . True, this is about Laravel, and if you need to give a couple of lines from the base, then the abstraction level is high. But as a role model and drawing ideas, I definitely recommend it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question