PHP REST Services

PHP REST Services

RESTful web service API framework for PHP

PHP REST Services
WiseLoop PHP REST Services

Building a RESTful web service for your PHP web application has never been so easy!
WiseLoop PHP REST Services is a powerful API framework that allows easy development of any kind of API through RESTful web services.

WiseLoop PHP REST Services

Building a RESTful web service for your PHP web application has never been so easy!
WiseLoop PHP REST Services is a powerful API framework that allows easy development of any kind of API through RESTful web services.

Screencast

Product Description

WiseLoop PHP REST Services allows easy building of a fully featured API for your web application by offering a powerful RESTful framework. The implementation time of any API is extremely fast due to the well designed framework that is using modern programming concepts such as OOP, hooks and dependency injection. Basically, the developer needs to focus on the API logic and own specific features, leaving the framework to do the other common tasks such as URL handling and parsing, actions call, output formatting and rendering etc.

Main Features

  • action filtering by request type (GET, PUT, POST, DELETE);
  • API versioning support: multiple versions for an API;
  • authentication & authorization support;
  • common output types built-in: JSON, XML, PHP serialization, PHP array, PLAIN;
  • custom output handlers support: create own output types;
  • triggers (hooks) support: call custom actions when specific events happens (5 triggers included);
  • anti-spam built-in trigger;
  • reject by IP built-in trigger;
  • API key implementation built-in support;
  • custom error formatting built-in support;
  • routing support: specify how the request URL should look like;
  • cache support;
  • allows very fast API development;
  • exhaustive documentation (samples, howto and video tutorials included);

Sample code

A basic service endpoint implementation:

$service = new wlRestService();
$service->loadSettings('/custom-rest-settings.ini');
$service->registerController(new sampleHelloRestControllerV1());
$service->registerController(new sampleHelloRestControllerV2());
$service->registerOutputHandler(new csvSampleOutputHandler('csv'));
$service->registerTrigger(new ipRejectSampleTrigger(), wlRestTrigger::ON_REQUEST_EVENT);
$service->setCacheDir(__DIR__ . '/cache', 10);
$service->setLogDir(__DIR__);
$service->run();

Video Tutorials

Information

Images

GET request type with results in JSON format
GET request type with results in XML format
GET request type with results in PHP serialization format
GET request type with results as PHP array
Complete REST services documentation, examples and video tutorials
Text tutorials, examples and video tutorials
Regular License $10.00
Use by you or one client, in a single end product which end users are not charged for.

Extended License $50.00
Use by you or one client, in a single end product which end users can be charged for.
Buyer rating:
337 Sales