This package is abandoned and no longer maintained. No replacement package was suggested.

Framework to build RESTful service

0.24.1 2014-08-17 09:20 UTC

This package is auto-updated.

Last update: 2020-03-17 14:45:15 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.