PHPackages                             yiier/yii2-token - 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. [API Development](/categories/api)
4. /
5. yiier/yii2-token

ActiveYii2-extension[API Development](/categories/api)

yiier/yii2-token
================

RESTful Token for Yii 2

v0.1(7y ago)1161BSD-4-ClausePHP

Since Jun 1Pushed 7y ago13 watchersCompare

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

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

RESTful Token for Yii 2
=======================

[](#restful-token-for-yii-2)

RESTful Token for Yii 2

[![Latest Stable Version](https://camo.githubusercontent.com/bfee8008f2eeef73fabe656e142a7cdfa69fbf70d6202b1fc70f9a046bfbb599/68747470733a2f2f706f7365722e707567782e6f72672f79696965722f796969322d746f6b656e2f762f737461626c65)](https://packagist.org/packages/yiier/yii2-token)[![Total Downloads](https://camo.githubusercontent.com/05ea46ffa790f43f0f9f0868e4872afaa5a193d40635ef818a956ee684f6ab03/68747470733a2f2f706f7365722e707567782e6f72672f79696965722f796969322d746f6b656e2f646f776e6c6f616473)](https://packagist.org/packages/yiier/yii2-token)[![Latest Unstable Version](https://camo.githubusercontent.com/0be06cdbc4cb5283edc7e8d5e01d5f2c45afdcbcec98578738b640219796ecb7/68747470733a2f2f706f7365722e707567782e6f72672f79696965722f796969322d746f6b656e2f762f756e737461626c65)](https://packagist.org/packages/yiier/yii2-token)[![License](https://camo.githubusercontent.com/49505e6e4fd2c5e2f96fc6024171bc0185d34d67de6b9f128d26f20e9be9f9a8/68747470733a2f2f706f7365722e707567782e6f72672f79696965722f796969322d746f6b656e2f6c6963656e7365)](https://packagist.org/packages/yiier/yii2-token)

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist yiier/yii2-token "*"

```

or add

```
"yiier/yii2-token": "*"

```

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

Migrations
----------

[](#migrations)

Run the following command

```
php yii migrate --migrationPath=@yiier/token/migrations/
```

Usage
-----

[](#usage)

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

```
return [
    'modules' => [
        'token' => [
            'class' => 'yiier\token\Module',
        ],
    ],
];
```

[More detail](/src/models/Token.php)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity52

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

Unknown

Total

1

Last Release

2899d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4c0612f70d09feb06ab5d24a31e0cc551f1ee547b42308c695e34d76181f18cf?d=identicon)[forecho](/maintainers/forecho)

---

Top Contributors

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

---

Tags

yii2extensionrestful

### Embed Badge

![Health badge](/badges/yiier-yii2-token/health.svg)

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

###  Alternatives

[light/yii2-swagger

swagger intergation with yii2

154801.6k4](/packages/light-yii2-swagger)[ignatenkovnikita/yii2-swagger

Swagger UI v3 intergation with yii2

128.0k](/packages/ignatenkovnikita-yii2-swagger)[dotzero/yii2-amocrm

Расширение для Yii Framework 2 реализующее клиент для работы с API amoCRM

1639.7k](/packages/dotzero-yii2-amocrm)[conquer/services

Yii2 soap wsdl web services

1632.5k](/packages/conquer-services)[apexwire/yii2-restclient

Tools to use API as ActiveRecord for Yii2

143.5k](/packages/apexwire-yii2-restclient)

PHPackages © 2026

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