PHPackages                             killwindows/yii-jwt - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. killwindows/yii-jwt

ActiveExtension[Authentication &amp; Authorization](/categories/authentication)

killwindows/yii-jwt
===================

JWT Component for Yii v1

1.0.0.x-dev(7y ago)0441BSD-3-ClausePHPPHP &gt;=5.3.0

Since Aug 27Pushed 7y ago1 watchersCompare

[ Source](https://github.com/killlinuxkill/yii-jwt)[ Packagist](https://packagist.org/packages/killwindows/yii-jwt)[ RSS](/packages/killwindows-yii-jwt/feed)WikiDiscussions master Synced yesterday

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

yii-jwt
=======

[](#yii-jwt)

INSTALL
=======

[](#install)

```
composer require killwindows/yii-jwt

```

CONFIG
======

[](#config)

```
in main.php

```

```
    'components'=>array(
        ...
        'JWT' => array(
            'class' => 'killwindows\JWT\JWT',
            'key' => 'YOUR-SECRET-KEY',
            'alg' => 'DEFAULT-ALG'
        ),
        ...
    ),
```

USE
===

[](#use)

```
    $token = ['id' => '45678', 'name' => 'Name'];
    $jwt = Yii::app()->JWT->encode($token);
    $decode = Yii::app()->JWT->decode($jwt);
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

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

2864d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15226187?v=4)[killlinuxkill](/maintainers/killlinuxkill)[@killlinuxkill](https://github.com/killlinuxkill)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/killwindows-yii-jwt/health.svg)

```
[![Health](https://phpackages.com/badges/killwindows-yii-jwt/health.svg)](https://phpackages.com/packages/killwindows-yii-jwt)
```

###  Alternatives

[google/auth

Google Auth Library for PHP

1.4k286.7M205](/packages/google-auth)[stevenmaguire/oauth2-keycloak

Keycloak OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2276.2M36](/packages/stevenmaguire-oauth2-keycloak)[robsontenorio/laravel-keycloak-guard

🔑 Simple Keycloak Guard for Laravel

5181.1M3](/packages/robsontenorio-laravel-keycloak-guard)[ellaisys/aws-cognito

AWS Cognito package that allows Auth and other related features using the AWS SDK for PHP

121242.9k1](/packages/ellaisys-aws-cognito)[microsoft/kiota-authentication-phpleague

Authentication provider for Kiota using the PHP League OAuth 2.0 client to authenticate against the Microsoft Identity platform

153.8M9](/packages/microsoft-kiota-authentication-phpleague)[rainlab/user-plugin

User plugin for October CMS

11854.7k15](/packages/rainlab-user-plugin)

PHPackages © 2026

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