Framework to build RESTful service

Installs: 146

Dependents: 2

Stars: 2

Watchers: 1

Open Issues: 1

0.24.1 2014-08-17 09:20 UTC


Build Status Latest Stable Version

Framework to build client libraries for interacting with RESTful services.


You can install library through Composer:

    "require": {
        "sokil/php-rest": "dev-master"

Projects based on this library

Basic concepts

Client library contains Request and Response classes for every request. Request incapsulates HTTP method, URL and parameters, and allows to get Response object, which give access to response data, headers and status. Factory allows us to auth on server, and to create and send requests.


Factory must extend \Sokil\Rest\Client\Factory. This class incapsulates auth login and creates requests.