Login   Register  
PHP Classes
elePHPant
Icontem

PHP REST Server Class: REST Web service server that maps URL to API calls

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-12-22 (8 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 428 This week: 5All time: 5,693 This week: 333Up
Version License PHP version Categories  
rest-server 1.0.0GNU General Public Lice...5.3PHP 5, Web services
Description Author  

This package implements a REST Web service server that maps URL to API calls.

The main class can register one or more objects that will handle API calls. Handler objects must be of classes based on the REST object class.

The main class also dispatches API calls by extracting the handler object name, API call function name and any parameters from the URL.

The return values of the REST object handler functions are returned JSON encoded as responses to the REST requests.

Picture of Rafal Przetakowski
Name: Rafal Przetakowski <contact>
Classes: 3 packages by
Country: Poland Poland
Age: 36
All time rank: 211853 in Poland Poland
Week rank: 325 Up10 in Poland Poland Up

  Files folder image Files  
File Role Description
Files folder imagerestObjects (1 file)
Accessible without login Plain text file .htaccess Data Auxiliary data
Accessible without login Plain text file LICENSE.md Lic. Documentation
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file rest.php Example Auxiliary script
Plain text file restObject.php Class Class source
Plain text file restServer.php Class Class source

  Files folder image Files  /  restObjects  
File Role Description
  Accessible without login Plain text file rest_User.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 100%Total:428All time:5,693
 This week:5This week:333Up