http://laravel.com/docs/4.2/controllers#restful-resource-controllers
http://www.sitepoint.com/build-rest-resources-laravel/
These should give you a good start. And remember HATEOAS :)
Thanks for this. I'm just trying to understand of the resource i'm trying to build.
Do I need to maintain this structure even though I intend to just be a client and not the actual resource? Meaning the actual resource is Expedia and all I need to do is just ask for a request and get a response.
Does building the resource controllers in the manner allow me to obtain the API data easier?
If you are only consuming their API you don't need to do anything special on your end. There will be no package as you are not REST yourself.
Just send the requests and parse the results as normal.
afaik Expedia is a big site? Maybe their are some snippets or packages already out there for using their API.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community