PHP Classes

REST Server: Implement REST Web services servers

Recommend this page to a friend!
  Info   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum (9)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 72%Total: 5,092 All time: 523 This week: 524Down
Version License PHP version Categories
restserver 0.1GNU General Publi...5.0PHP 5, Web services, Design Patterns


This package can be used to implement REST Web services servers.

It uses a model-view-controller (MVC) implementation to route REST GET, POST, DELETE and URL to controllers classes.

It also provide helpers for handling HTTP requests, response, headers, MIME types and authentication.

It uses decoration instead of inheritance, so do not have to extend any classes to implement your servers.

No configuration files, custom .htaccess files or naming conventions are necessary.

Innovation Award
PHP Programming Innovation award nominee
February 2009
Number 2

Prize: One subscription to the PDF edition of the PHP Architect magazine
REST is a protocol for implementing Web services that is simpler than others like SOAP and XML-RPC.

This package provides an extensive solution to implement REST based Web service servers in PHP.

Manuel Lemos
Picture of Diogo Souza da Silva
Name: Diogo Souza da Silva is available for providing paid consulting. Contact Diogo Souza da Silva .
Classes: 4 packages by
Country: Brazil Brazil
Age: 35
All time rank: 26718 in Brazil Brazil
Week rank: 280 Down25 in Brazil Brazil Down
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Files folder imagetests (1 file)
Accessible without login Plain text file RestServer.class.php Class RestServer main class
Accessible without login HTML file README.html Doc. Documentation
Plain text file RestAction.class.php Class Action interface
Plain text file RestAuthenticator.class.php Class RestAuthenticator handler
Plain text file RestController.class.php Class The controller interface
Accessible without login Plain text file RestRequest.class.php Class Request class
Accessible without login Plain text file RestResponse.class.php Class The Response class
Plain text file RestView.class.php Class The VIew interface
Accessible without login Plain text file GenericView.class.php Class GenericView class

  Files folder image Files  /  tests  
File Role Description
  Plain text file RestServer.test.php Test RestServer testing

 Version Control Reuses Unique User Downloads Download Rankings  
This week:0
All time:523
This week:524Down
User Ratings User Comments (3)
 All time