create PHP REST service [closed]

-1

Good morning.

I need to create a REST API in PHP on the backend and in the frontend show this data with angularjs.

backend: REST API in PHP brings database data.

frontend: angular js consumes the service and makes available in html 5.

Doubt:

Should I use some php framework to build this service? Is it better to only consume the service using javascript or php usage too?

Thank you.

    
asked by anonymous 11.05.2016 / 15:31

1 answer

0

Hello Friend there are several ways to create REST with PHP the simplest of them and using the Slim Framework.

See the post below to get an idea of how to create a REST.

Consuming the REST you can use in AngularJS, I recommend you take a look at the link below.

link

I work with REST in PHP with Slim and consuming with AngularJS.

This would be an option but it all depends on the type of project and what you want to do.

I hope I have helped.

    
13.05.2016 / 04:49