PHPackages                             zhuravljov/yii2-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. [HTTP &amp; Networking](/categories/http)
4. /
5. zhuravljov/yii2-rest

ActiveYii2-extension[HTTP &amp; Networking](/categories/http)

zhuravljov/yii2-rest
====================

Yii2 REST Client

1.0.3(9y ago)1186.2k23[1 issues](https://github.com/zhuravljov/yii2-rest/issues)[2 PRs](https://github.com/zhuravljov/yii2-rest/pulls)BSD-3-ClausePHP

Since Sep 6Pushed 7y ago21 watchersCompare

[ Source](https://github.com/zhuravljov/yii2-rest)[ Packagist](https://packagist.org/packages/zhuravljov/yii2-rest)[ RSS](/packages/zhuravljov-yii2-rest/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

Yii2 REST Client
================

[](#yii2-rest-client)

[![Latest Stable Version](https://camo.githubusercontent.com/4896d9d1d76e04a5df4630a612a87df94b24a952622df7eb18f6a03204666b50/68747470733a2f2f706f7365722e707567782e6f72672f7a68757261766c6a6f762f796969322d726573742f762f737461626c652e706e67)](https://packagist.org/packages/zhuravljov/yii2-rest)[![Build Status](https://camo.githubusercontent.com/bd8dbaeb1a55d08264104f3738c05f665bbbeac8ba49fae9d7bc1d4be82b42e0/68747470733a2f2f7472617669732d63692e6f72672f7a68757261766c6a6f762f796969322d726573742e737667)](https://travis-ci.org/zhuravljov/yii2-rest)

What is this?
-------------

[](#what-is-this)

[![Screen](/docs/images/screen1.png)](/docs/images/screen1.png)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Add

```
"zhuravljov/yii2-rest": "*",
"yiisoft/yii2-httpclient": "@dev"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply modify your application configuration as follows:

```
return [
    'bootstrap' => ['rest-client'],
    'modules' => [
        'rest-client' => [
            'class' => 'zhuravljov\yii\rest\Module',
            'name' => 'My Rest Client',
            'baseUrl' => 'http://localhost/api/v1',
        ],
    ],
];
```

You can then access Rest Client through the following URL:

```
http://localhost/path/to/index.php?r=rest-client

```

or if you have enabled pretty URLs, you may use the following URL:

```
http://localhost/path/to/index.php/rest-client

```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 98.9% 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 ~113 days

Total

4

Last Release

3566d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1656851?v=4)[Roman Zhuravlev](/maintainers/Zhuravljov)[@zhuravljov](https://github.com/zhuravljov)

---

Top Contributors

[![zhuravljov](https://avatars.githubusercontent.com/u/1656851?v=4)](https://github.com/zhuravljov "zhuravljov (92 commits)")[![johonunu](https://avatars.githubusercontent.com/u/320024?v=4)](https://github.com/johonunu "johonunu (1 commits)")

---

Tags

modulerestyii2restyii2module

### Embed Badge

![Health badge](/badges/zhuravljov-yii2-rest/health.svg)

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

###  Alternatives

[simialbi/yii2-rest-client

REST client (AR-like model) for Yii Framework 2.0 (via yii2-http-client, extends ApexWire/yii2-restclient)

2232.5k](/packages/simialbi-yii2-rest-client)[tunecino/yii2-nested-rest

Adds nested resources routing support along with related actions and relationship handlers to the Yii RESTful API framework

4815.8k](/packages/tunecino-yii2-nested-rest)

PHPackages © 2026

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