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

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

meceway/hola-jwt
================

hola jwt library

10PHP

Since Jul 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/meceway/holaJwt)[ Packagist](https://packagist.org/packages/meceway/hola-jwt)[ RSS](/packages/meceway-hola-jwt/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

holaJwt
=======

[](#holajwt)

一个简单的JWT库

安装方法
----

[](#安装方法)

```
composer require Hola\JWT
```

支持的算法
-----

[](#支持的算法)

- HS256
- HS384
- HS512

示范
--

[](#示范)

```
use Hola\JWT\JWT
use Hola\JWT\KEY;

$key = 'secret';
$data = [
    'id' => 1
];

$jwt = new JWT();
$token = $jwt->expired('1week')->sign($data, [$key, 'HS256'], true, true);
```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 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://www.gravatar.com/avatar/02ccd1f9e8d90e6e41c15c465bede6b6cff6965d9d766698a47c57a3b851314e?d=identicon)[meceway](/maintainers/meceway)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

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

41721.2M117](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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