PHPackages                             leo/core-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. leo/core-jwt

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

leo/core-jwt
============

JSON Web Token Builder / Validator

v1.0.0(7y ago)170MITPHPPHP ^5.5.9 || ^7.0

Since Apr 5Pushed 7y ago1 watchersCompare

[ Source](https://github.com/tuankiet1708/core-jwt)[ Packagist](https://packagist.org/packages/leo/core-jwt)[ Docs](https://github.com/tuankiet1708/core-jwt)[ RSS](/packages/leo-core-jwt/feed)WikiDiscussions master Synced 2d ago

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

JSON Web Token Builder / Validator
==================================

[](#json-web-token-builder--validator)

About
-----

[](#about)

It's for generating and validating Json Web Token ([JWT](https://jwt.io/)) communicating with parties together. Features:

- Simple
- Easy to use
- Dynamic configuration
- Lightweight

Usage
-----

[](#usage)

First of all, you need install some dependencies, please run this command before using.

```
composer install
```

Then you can use it now. See an example in a folder named **examples/**.

1. Build a token

```
(new Leo\JWT\JWT())->buildToken();
```

2. Validate a token

```
(new Leo\JWT\JWT())->checkValid("");
```

Contributing
------------

[](#contributing)

You can contribute to this package by discovering bugs and opening issues.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you discover a security vulnerability within this project, please send an e-mail to Kiet Tran via . All security vulnerabilities will be promptly addressed.

License
-------

[](#license)

This is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

2643d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6264125?v=4)[Kiet Tran](/maintainers/tuankiet1708)[@tuankiet1708](https://github.com/tuankiet1708)

---

Top Contributors

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

---

Tags

jwtapiweb serviceJSON Web Tokenrestful

### Embed Badge

![Health badge](/badges/leo-core-jwt/health.svg)

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

###  Alternatives

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.5k50.9M364](/packages/tymon-jwt-auth)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

83910.6M60](/packages/php-open-source-saver-jwt-auth)[auth0/auth0-php

PHP SDK for Auth0 Authentication and Management APIs.

40921.3M85](/packages/auth0-auth0-php)[auth0/login

Auth0 Laravel SDK. Straight-forward and tested methods for implementing authentication, and accessing Auth0's Management API endpoints.

2745.2M3](/packages/auth0-login)[auth0/symfony

Symfony SDK for Auth0 Authentication and Management APIs.

128790.7k](/packages/auth0-symfony)[auth0/wordpress

WordPress Plugin for Auth0

18122.7k](/packages/auth0-wordpress)

PHPackages © 2026

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