PHPackages                             sokil/php-rest - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. sokil/php-rest

AbandonedArchivedLibrary[Framework](/categories/framework)

sokil/php-rest
==============

Framework to build RESTful service

0.24.1(11y ago)3160[1 issues](https://github.com/sokil/php-rest/issues)1MITPHPPHP &gt;=5.3

Since Aug 17Pushed 6y ago1 watchersCompare

[ Source](https://github.com/sokil/php-rest)[ Packagist](https://packagist.org/packages/sokil/php-rest)[ RSS](/packages/sokil-php-rest/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (1)

RESTful SDK
===========

[](#restful-sdk)

[![Build Status](https://camo.githubusercontent.com/606fc5be69bcae0ecdf2c67df1984c3d137895a52170ce182d153802dbbbf54b/68747470733a2f2f7472617669732d63692e6f72672f736f6b696c2f7068702d726573742e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/sokil/php-rest)[![Latest Stable Version](https://camo.githubusercontent.com/e346d8f5f15d4a8d4c04b8815a5232ab5cedc67b5b29022c25edad010e3055b0/68747470733a2f2f706f7365722e707567782e6f72672f736f6b696c2f7068702d726573742f762f737461626c652e706e67)](https://packagist.org/packages/sokil/php-rest)

Framework to build client libraries for interacting with RESTful services.

- [Installation](#installation)

Installation
------------

[](#installation)

You can install library through Composer:

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

Projects based on this library
------------------------------

[](#projects-based-on-this-library)

- [Distributive Manager API](https://github.com/sokil/php-distmanager-sdk) for [Distributive Manager](https://github.com/sokil/distributiveManager)

Basic concepts
--------------

[](#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
-------

[](#factory)

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

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

4291d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/902e21ecf6517341b1f2a3c2f93a3eb115396fc6524effaeabc816b481909e64?d=identicon)[sokil](/maintainers/sokil)

---

Top Contributors

[![sokil](https://avatars.githubusercontent.com/u/1829948?v=4)](https://github.com/sokil "sokil (84 commits)")

### Embed Badge

![Health badge](/badges/sokil-php-rest/health.svg)

```
[![Health](https://phpackages.com/badges/sokil-php-rest/health.svg)](https://phpackages.com/packages/sokil-php-rest)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[cakephp/cakephp

The CakePHP framework

8.8k18.5M1.6k](/packages/cakephp-cakephp)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[magento/community-edition

Magento 2 (Open Source)

12.1k52.1k10](/packages/magento-community-edition)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
