Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Framework for providing API access to website?

We have a website that we want to provide web based API access to to other sites.

It may end up being a REST based API, but I'm not sure yet. It needs to be accessible from a Drupal module, but we want to built the API to be scalable so that we can access the site's data and functionality from other environments such as joomla, wordpress, other non-php languages, etc.

I am looking for a robust/stable PHP based framework that allows me to create such APIs - can folks suggest something that meets the criteria?

like image 304
siliconpi Avatar asked Jan 05 '11 12:01

siliconpi


2 Answers

I'd recommend Zend REST Server - it's robust, easily extensible and frequently reviewed in community "bug hunts".

  • Here's a tutorial by a Zend guru
  • A getting started guide
  • Another guide
  • And another
like image 51
Andy Avatar answered Oct 05 '22 23:10

Andy


If you need a restful minimal framework, i recommend https://github.com/codeguy/Slim its fresh and works wonderful

like image 20
osm Avatar answered Oct 05 '22 23:10

osm