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

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

pondit/jwt
==========

1.1.0(6y ago)22[1 PRs](https://github.com/mdahosan/pondit-jwt/pulls)MITPHPPHP ^7.2

Since Feb 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mdahosan/pondit-jwt)[ Packagist](https://packagist.org/packages/pondit/jwt)[ RSS](/packages/pondit-jwt/feed)WikiDiscussions master Synced 1w ago

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

[![](https://camo.githubusercontent.com/e213ce5b620c031bf9127c8153b3e4d528593c4826147f02aaf5670c8e6e71bf/68747470733a2f2f706f6e6469742e636f6d2f75692f66726f6e74656e642f696d672f6c6f676f2e706e67)](https://camo.githubusercontent.com/e213ce5b620c031bf9127c8153b3e4d528593c4826147f02aaf5670c8e6e71bf/68747470733a2f2f706f6e6469742e636f6d2f75692f66726f6e74656e642f696d672f6c6f676f2e706e67)

About Pondit JWT
----------------

[](#about-pondit-jwt)

A simple library to encode and decode JSON Web Tokens (JWT) in PHP, conforming to RFC 7519.

How to use
----------

[](#how-to-use)

`copy config/constants.example.php to config/constants.php`

Database Configuration `config/constants.php`

`define('DB_HOST', ''); define('DB_NAME', ''); define('DB_USERNAME', ''); define('DB_PASSWORD', '');`

At first create a users(id, name, mobile\_number, email, password, is\_active) table to your database. update config/constants.php according your database credential

Available API (Only accept post requests)

1. `domain/register.php` (form data: name, email, mobile\_number, password)
2. `domain/login.php` (form data: email, password)
3. `domain/profile.php` content-type: application/json, Authorization: bearer token
4. `domain/send_sms.php` (form data: secret\_key, mobile\_number, message)
5. `domain/send_email.php` (form data: secret\_key, email, subject, body)

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

[](#contributing)

Thank you for considering contributing to the Pondit JWT!

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

[](#security-vulnerabilities)

If you discover a security vulnerability within Pondit JWT, please send an e-mail to Dev Team via . All security vulnerabilities will be promptly addressed.

License
-------

[](#license)

The Pondit JWT is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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

2292d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/09433df81063fb915d19015f57f63a1793ff8b66ce86b6ffaf5c462b48c48435?d=identicon)[ahosan](/maintainers/ahosan)

---

Top Contributors

[![cseahosan](https://avatars.githubusercontent.com/u/23416246?v=4)](https://github.com/cseahosan "cseahosan (6 commits)")[![mdahosan](https://avatars.githubusercontent.com/u/43333139?v=4)](https://github.com/mdahosan "mdahosan (1 commits)")

---

Tags

phpjwtapi authenticationPHP JWT

### Embed Badge

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

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

###  Alternatives

[griffinledingham/php-apple-signin

A simple library to decode and parse Apple Sign In client tokens.

2011.9M1](/packages/griffinledingham-php-apple-signin)[swoft/auth

Auth component for swoft

127.2k1](/packages/swoft-auth)

PHPackages © 2026

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