PHPackages                             libelulibelu/yii2-common-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. libelulibelu/yii2-common-rest

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

libelulibelu/yii2-common-rest
=============================

Common rest utilities

v1.0.0(1mo ago)03Apache-2.0PHP &gt;=8.2

Since Jun 21Compare

[ Source](https://github.com/libelulibelu/yii2-common-rest)[ Packagist](https://packagist.org/packages/libelulibelu/yii2-common-rest)[ RSS](/packages/libelulibelu-yii2-common-rest/feed)WikiDiscussions Synced 2w ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

Common rest
===========

[](#common-rest)

Common rest utilities

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

[](#installation)

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

Either run

```
composer require --prefer-dist libelulibelu/yii2-common-rest

```

or add

```
"libelulibelu/yii2-common-rest": "^1.0.0"

```

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

Migration
---------

[](#migration)

Si se quiere migrar de la version `taguz91/yii2-common-rest` a la nueva version `libelulibelu/yii2-common-rest` se debe seguir los siguientes pasos:

1. Seguir la guia de migracion para [yii2-common-helpers](https://github.com/libelulibelu/yii2-common-helpers).
2. Seguir la guia de migracion para [yii2-error-handler](https://github.com/libelulibelu/yii2-error-handler).
3. Eliminar la version actual

```
composer remove taguz91/yii2-common-rest

```

4. Instalar la nueva version

```
composer require libelulibelu/yii2-common-rest

```

5. Se debe cambiar el namespace `taguz91\CommonRest` a `Libelula\CommonRest` en todo el proyecto.
6. Probamos que todo funcione de forma correcta.

Tests
-----

[](#tests)

```
composer test

```

Git hooks
---------

[](#git-hooks)

A `pre-commit` hook runs the test suite before every commit so broken code can't be committed. It is enabled automatically after `composer install` (via the `post-install-cmd` script). To enable it manually run:

```
git config core.hooksPath .githooks

```

Bypass it for a single commit with `git commit --no-verify`.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by:

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance90

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

45d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d00633794cb82a0c02a1cb2d71c956f86d92d23daa8eb87b4e666af312d3889?d=identicon)[libelulibelu](/maintainers/libelulibelu)

---

Tags

apirestyii2extension

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[tuyakhov/yii2-json-api

Implementation of JSON API specification for the Yii framework

140119.9k](/packages/tuyakhov-yii2-json-api)[hiqdev/yii2-hiart

ActiveRecord for API

6153.0k3](/packages/hiqdev-yii2-hiart)[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13725.8k63](/packages/skeeks-cms)

PHPackages © 2026

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