What is a good PHP framework to create a RESTful API for a legacy database application?
-
We have a legacy web application that was designed to directly interact with a database. Now we need to develop new clients for the application, and would like to create a REST API for use by 3rd party client developers. What is a good starting point in PHP to do this? We have looked at FRAPI ( http://getfrapi.com ). Would like to know if there are other similar frameworks we should look at, or if any are recommended. The scalability requirements are modest, less than 500K hits a day so rate limiting etc is not an immediate consideration. Would be nice to get OAuth support but that is not strictly needed at this stage. We mostly need a framework that can create a clean compliant API.
-
Answer:
You may look at Recess (http://www.recessframework.org/) But honestly with half a million hits a day I would create my own simple and small foot-printed framework.
Frédéric Bournival at Quora Visit the source
Other answers
I've heard a lot of good things of Lumen. Lumen is stripped down version of Laravel, it has everything you need to create API fast. http://lumen.laravel.com/ Screencast by Laravel creator Taylor Otwell: https://laracasts.com/lessons/introducing-lumen
Ismo Vuorinen
Laravel. and it has extension called Lumen, developed especially for APIs - Laravel: http://laravel.com/ - Lumen : http://lumen.laravel.com/docs/installation
George Chkhvirkia
I recommend Fakoli, as it is designed specifically to support open data. Fakoli is a php/mysql framework that is designed around the data model, making it easy to import and expose your data model. It is open source and actively maintained. It is very flexible. here is a blog post all about Open Data and Fakoli. http://www.fakoli.org/developer_diary?article_id=38 My firm built and supports Fakoli so let me know if you need more information or to speak to the chief architect. Thanks.
Siobhan Green
I would recommend the new http://www.apigility.org.
Olajide Obasan
You can try PHP Slim and Redbean PHP, It provides all the required features and its very light weight.You can find https://saisoft.co.in/tutorials/php-restful-web-services and free http://freshersliveworld.com/how-to-create-a-simple-dynamic-website-with-angualrjs-bootstrap-php-and-mysql/ as well as Free PHP Slim projects here.You can view a https://www.youtube.com/watch?v=mG7hX3hJGh0
Ketki Inamdar
I think Laravel can handle this. I'm saying this because I've only used Laravel and Codeigniter for MVC in PHP and I think both of them are in a good position to handle such.
Onimisi Onipe
Related Q & A:
- What's a good mobile phone plan for a study abroad student?Best solution by internationalstudentinsurance.com
- What is a good way to break in a snowboard?Best solution by answers.yahoo.com
- What is a good quality universal remote for a reasonable price?Best solution by thewirecutter.com
- What is a good score to get on a college placement test?Best solution by Yahoo! Answers
- What is a good thing to put on a job application when they ask whats the reason for leaving the position?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.