PHP Classes

Simple REST Library: Process requests to work as a REST server

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,136 All time: 3,327 This week: 524Up
Version License PHP version Categories
simple-rest-library 1.0.0GNU General Publi...5.0PHP 5, Web services
Description 

Author

This class can process requests to work as a REST server.

It is a base class that can process REST requests by extracting the request arguments from $_POST for POST requests, $_GET for GET and DELETE requests or from the script input for PUT requests.

The request parameters are stored in private variables so a sub-class can easily implement the actual REST calls.

Picture of Arun Kumar
Name: Arun Kumar <contact>
Classes: 1 package by
Country: India India
Age: 38
All time rank: 2199132 in India India
Week rank: 192 Up22 in India India Up

  Files folder image Files (3)  
File Role Description
Plain text file Rest.inc.php Class REST Handler
Accessible without login Plain text file api.php Example Example
Accessible without login Plain text file .htaccess Data REST Url reqrite

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,136
This week:0
All time:3,327
This week:524Up