Simple-REST – Lightweight PHP REST Library
Web 2.0 has brought more and more social and syndication medium to the Internet world. Nowadays, every other web application is exposing web services for exposing their content and functionality. To enable web services, we rely on the protocols such as REST, SOAP, XMLRPC etc. Among these, REST is fast becoming a de-facto standard for the webservices implementation. Number of REST libraries are available in different programming languages to enable quickly the RESTfulness in your application. For PHP, you can find Zend_Rest, RECESS, FRAPI, CodeIgniter and so on. Although they are good, however I didn’t find that they are lightweight and simple. Therefore, I had wrote a REST library in PHP which is dead simple to use and install. I was using this for the past 2 years in different applications which now I decided to open source so that others can also make use of it.
Simple-REST is a very lightweight PHP REST library which allows you to quickly enable REST api’s in your application. It supports multiple response types – JSON, XML, Querystring. The Simple-REST library is released under Apache 2.0 licence. The only requirement for this library is the Apache mod_rewrite support.
For more details about this, you can fork or download it from Github – https://github.com/deepeshmalviya/simple-rest