PHPackages                             yftzeng/wow-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. yftzeng/wow-jwt

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

yftzeng/wow-jwt
===============

Wow! JWT for PHP. Fast Javascript Web Token library for PHP.

0463PHP

Since Apr 13Pushed 12y ago1 watchersCompare

[ Source](https://github.com/yftzeng/phpWowJwt)[ Packagist](https://packagist.org/packages/yftzeng/wow-jwt)[ RSS](/packages/yftzeng-wow-jwt/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

phpWowJwt
=========

[](#phpwowjwt)

Wow! JWT for PHP. Fast Javascript Web Token library for PHP.

Requirement
-----------

[](#requirement)

PHP 5.3+

Usage
-----

[](#usage)

### Standalone WowLog library

[](#standalone-wowlog-library)

```
include __DIR__.'/src/Wow/Util/WowJwt.php';

use Wow\Util\WowJwt as JWT;

$payload = '{"iss":"ant"}';
$key     = '1234567890';
$algo    = 'HS256';

$verify  = true;
$encrypt = false;

$t = JWT::encode($payload, $key, $algo, $encrypt);
echo $t."\n";
$t = JWT::decode($t, $key, $verify, $encrypt);
echo $t."\n";

```

### Work with Composer

[](#work-with-composer)

#### Edit `composer.json`

[](#edit-composerjson)

```
{
    "require": {
        "yftzeng/wow-jwt": "dev-master"
    }
}

```

#### Update composer

[](#update-composer)

```
$ php composer.phar update

```

#### Sample code

[](#sample-code)

```
include 'vendor/autoload.php';

use Wow\Util\WowJwt as JWT;

$payload = '{"iss":"ant"}';
$key     = '1234567890';
$algo    = 'HS256';

$verify  = true;
$encrypt = false;

$t = JWT::encode($payload, $key, $algo, $encrypt);
echo $t."\n";
$t = JWT::decode($t, $key, $verify, $encrypt);
echo $t."\n";

```

License
-------

[](#license)

the MIT License

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/245302?v=4)[Yi-Feng Tzeng (ant)](/maintainers/yftzeng)[@yftzeng](https://github.com/yftzeng)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/yftzeng-wow-jwt/health.svg)

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

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.2M17](/packages/kartik-v-yii2-password)

PHPackages © 2026

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