PHP API Server Builder: Build a REST server API from custom classes

Recommend this page to a friend!
  Info   Example   View files (30)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 950 All time: 3,740 This week: 237
Version License PHP version Categories
api-builder 1.0.1GNU General Publi...5.0PHP 5, Web services
Description Author

This package can build a REST server API from custom classes.

It can register classes that will handle API calls under given server URI.

The main class can handle the requests to the API server and call the respective handler classes.

Optionally a custom class can validate the key value that clients may be required to pass as authorized clients to access the API.

Recommendations

Access MySQL database from RESTful Web Service
I need to return data from a MySQL database using REST

What is the best PHP api creation class?
i need to create api to be executed in multiple devices

Call a function with a socket connection
How to call a PHP function using a socket connection

What is the best PHP rest server class?
Develop Web service to work with Windows and Web and mobile App

Restful Web service
I need web services for Registration, Login, Forgot password

Picture of Rodolfo Pereira Romano
Name: Rodolfo Pereira Romano <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: 37
All time rank: 2390165 in Brazil Brazil
Week rank: 771 43 in Brazil Brazil

Details
APIBuilder - PHP REST API Builder
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This framework make easy the developmente of an REST Api for others developers can acsses information on your system.

Este framework torna fácil o desenvolvimento de uma REST API para que outros desenvolvedores podssam acessar informações de seus sistema.

This package can build a REST server API from custom classes.

It can register classes that will handle API calls under given server URI.

The main class can handle the requests to the API server and call the respective handler classes.

Optionally a custom class can validate the key value that clients may be required to pass as authorized clients to access the API.

Ajuda/HELP
~~~~~~~~~~

Any Help is welcome!

Toda Ajuda é bem vinda!

O que é REST API (REpresentational State Transfer (REST)) ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sobre REST http://pt.wikipedia.org/wiki/REST



Primerios Passos / First Steps
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

- includes:
	include('apibuilder/core/ApiApp.php');		
	include('apibuilder/language/pt-br.php');
	include('apibuilder/formats/all_formats.php');
	
- Criar uma classe que extende de ApiCommandBase
	- Implementar _getURIName()
	- Implmentar os métodos públicos que estarão disponíveis para o usuário
	
- Registrar a nova classe usando: registerClass()

- Instanciar APIApp
	- Parametrizar
	- executar run()
  Files  
File Role Description
apibuilder (5 directories)
doc.php Example Example script
example.php Example Example script
readme.txt Doc. Documentation
sampleclass.php Example Example script
_.htaccess Data Auxiliary data

  Files  /  apibuilder  
File Role Description
apidoc (2 files)
clients (2 files, 2 directories)
core (6 files)
formats (4 files)
language (2 files)

  Files  /  apibuilder  /  apidoc  
File Role Description
   ApiDoc.php Class Class source
   doc.template.php Aux. Class source

  Files  /  apibuilder  /  clients  
File Role Description
jsmin-php-master (2 files, 1 directory)
test (3 files)
   jQueryClientBuilder.php Class Class source
   jsClientBuilder.php Class Class source

  Files  /  apibuilder  /  clients  /  jsmin-php-master  
File Role Description
test (4 files)
   jsmin.php Aux. Auxiliary script
   README.md Data Auxiliary data

  Files  /  apibuilder  /  clients  /  jsmin-php-master  /  test  
File Role Description
   .gitignore Data Auxiliary data
   setup.php Aux. Auxiliary script
   test.php Aux. Auxiliary script
   utf8-with-bom.js Data Auxiliary data

  Files  /  apibuilder  /  clients  /  test  
File Role Description
   index.html Doc. Documentation
   lib.js Data Auxiliary data
   lib.min.js Data Auxiliary data

  Files  /  apibuilder  /  core  
File Role Description
   ApiApp.php Class Class source
   ApiClientBuilder.php Class Class source
   ApiCommandBase.php Class Class source
   ApiFormatResult.php Class Class source
   ApiKeyValidatorBase.php Class Class source
   uri.php Class Class source

  Files  /  apibuilder  /  formats  
File Role Description
   all_formats.php Class Class source
   json.php Class Class source
   php_serialize.php Class Class source
   var_export.php Class Class source

  Files  /  apibuilder  /  language  
File Role Description
   en.php Aux. Auxiliary script
   pt-br.php Aux. Auxiliary script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:950
This week:0
All time:3,740
This week:237

For more information send a message to info at phpclasses dot org.