PHP Classes

REST API Structure for Web and mobile API: I want a PHP REST API Structure for Web and mobile development

Recommend this page to a friend!
  All requests RSS feed  >  REST API Structure for Web and mobile...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

REST API Structure for Web and mobile API

Edit

Picture of Ritesh Upadhyay by Ritesh Upadhyay - 9 years ago (2015-05-06)

I want a PHP REST API Structure for Web and mobile development

This request is clear and relevant.
This request is not clear or is not relevant.

+7

I want to develop a PHP 5 application that provides REST API Structure for Web and mobile application to use in areal time project in my company.

Can any one guide regrading this point or provide rest structure?

Ask clarification

2 Recommendations

PHPLicengine API: Send HTTP requests to call REST Web service APIs

This class can send HTTP requests to call REST Web service APIs.

It can send HTTP requests to a given Web service API and decodes the response that may be returned in XML or JSON format.

The class uses Curl to send requests but it can customize options of the request to be sent to the server using a custom request sender callback function.
This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of PHPLicengine by PHPLicengine package author package author Reputation 90 - 7 years ago (2017-10-12) Comment

You can use this API library for any needs. With PHPLicengine API library you can contact with any RESTApi server and receive response as json/xml and parse them.


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

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.
This recommendation solves the problem.
This recommendation does not solve the problem.

+3

Picture of Dave Smith by Dave Smith Reputation 7620 - 9 years ago (2015-05-09) Comment

It sounds like you are looking for the server. Here is one that can send requests to the appropriate class and return the results. I am not sure about the mobile requirement, or if the mobile differs from the web. I think this class is as good place to start.


Recommend package
: 
: