PHP REST Services  - CodeCanyon Item for Sale

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

Other WiseLoop top software products:

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;
  • 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, howtos 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

Requirements

  • Apache Web Server 2.0.0 or above
  • PHP 5.0.0 or newer

Installation Instructions

Unpack the php-rest-services directory to your web server.

Information

This software product is sold exclusively on codecanyon.net. Please do not download it from elsewhere.

free counters

by
by
by
by
by
by