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.
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 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.
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();