lcobucci/jwt
A lightweight, flexible JWT library for PHP. Create, sign, parse, and validate JSON Web Tokens with support for multiple algorithms, key types, constraints, and claims. Includes a fluent builder, token parser, and robust validation APIs.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| mishal/jwt | 0.85 | Lightweight PHP JSON Web Token (JWT) library with support for None, HS256 (HMAC SHA-256), and RS256 (RSA SHA-256). Simple encode/decode API with allowed-algorithm validation and support for standard reserved claims like exp, nbf, iss, and aud. | 9 | 9 | 4 | 1K | 0 | 0.5 | 28.2 | MIT | 10 years ago | |
| web-token/jwt-library | 0.84 | Read-only sub-repository of the JWT Framework: a PHP JSON Web Token library. For docs and contributions, see the main jwt-framework repo and the official documentation at https://web-token.spomky-labs.com/. MIT licensed. | 20 | 20 | 9 | 2M | 0 | 0.4 | 55.3 | MIT | — | |
| web-token/jwt-core | 0.84 | Core JWT component from the web-token JWT Framework. Provides foundational building blocks for JSON Web Tokens used by the framework. Read-only split package; development and issues belong in the main jwt-framework repository. Official docs available online. | 50 | 49 | 7 | 362K | 0 | 0.8 | 53.2 | MIT | 8 years ago | |
| php-open-source-saver/jwt-auth | 0.84 | Laravel JWT authentication package (fork of tymondesigns/jwt-auth) maintained by PHP Open Source Saver. Provides the same API with a new namespace, easy migration, and adds new features and ongoing support. Full docs available online. | 839 | 845 | 121 | 439K | 17 | 37.8 | 49.5 | MIT | 2 months ago | |
| atlance/jwt-core | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| tymon/jwt-auth | 0.83 | Laravel JWT authentication package providing token issuing, parsing, refresh, and invalidation using JSON Web Tokens. Integrates with Laravel guards/middleware, supports custom claims and multiple auth providers, and includes docs and testing support. | 11,495 | 11,670 | 1,533 | 870K | 571 | 81.9 | 55.4 | MIT | 4 months ago | |
| web-token/jwt-easy | 0.83 | Simple JWT helper for PHP apps: quickly encode, decode, and validate JSON Web Tokens with minimal setup. Designed for straightforward auth flows, with easy-to-use APIs for signing, verifying, and reading claims. | 11 | 11 | 4 | 45K | 0 | 0.3 | 49.4 | MIT | — | |
| ciricihq/jwt-client-bundle | 0.82 | — | 2 | 2 | 0 | 0 | 2 | 0.4 | — | GPL-3.0 | — | |
| namshi/jose | 0.82 | PHP library implementing JSON Object Signing and Encryption (JOSE): JWT, JWS and JWE. Create, sign, verify, encrypt and decrypt tokens using common algorithms and key formats. Useful for authentication, API security and secure data exchange. | 1,806 | 1,816 | 130 | 1M | 9 | 15.8 | 42.2 | MIT | — | |
| web-token/jwt-framework | 0.81 | — | 952 | 955 | 120 | 547K | 6 | 37.9 | 46.9 | MIT | 1 month ago | |
| fproject/php-jwt | 0.81 | — | 28 | 29 | 20 | 19K | 0 | 3.3 | 38.8 | BSD-3-Clause | 8 years ago | |
| web-token/jwt-signature | 0.80 | JWT Signature component from the web-token JWT Framework. Provides tools to create and verify JWT signatures in PHP. Read-only split repo; contribute via the main jwt-framework project. Full docs at https://web-token.spomky-labs.com/ | 42 | 42 | 4 | 366K | 0 | 0.3 | 54.3 | MIT | — | |
| web-token/jwt-checker | 0.80 | — | 11 | 12 | 1 | 91K | 0 | 0.1 | 53.6 | MIT | — | |
| beyondbluesky/lib-jwt | 0.80 | libJWT makes JWT tokens easy to encode and decode for OAuth2 authentication workflows. Lightweight PHP library updated for PHP 8.4 (2026-03-28), designed to simplify handling and validating JWTs in your applications. | 1 | 1 | 0 | 4 | 0 | 0.0 | 6.6 | NOASSERTION | — | |
| adhocore/jwt | 0.79 | Lightweight PHP JWT library with simple encode/decode APIs, support for common algorithms (HS/RS), claims validation, and key handling. Designed for quick integration in apps and APIs with minimal dependencies and clear error reporting. | 300 | 303 | 22 | 96K | 2 | 24.6 | 40.2 | MIT | 1 month ago | |
| ramsey/uuid | 0.68 | Generate and work with UUIDs in PHP using ramsey/uuid. Create v1, v4, and other UUID types, parse and validate UUID strings, and integrate easily via Composer. Well-documented, widely used, and standards-aware for reliable identifiers. | 12,631 | 12,843 | 527 | 15M | 15 | 72.3 | 56.4 | MIT | 1 month ago | |
| contributte/phpunit | 0.66 | PHPUnit integration helpers by Contributte for PHP projects. Provides lightweight tooling and conventions to simplify writing, running, and organizing tests, with sensible defaults and compatibility aimed at smoother CI and developer experience. | 1 | 2 | 2 | 1K | 0 | 9.9 | 41.9 | MIT | 6 months ago | |
| rhumsaa/uuid | 0.65 | Deprecated PHP 5.3+ library for generating and working with RFC 4122 UUIDs (v1, v3, v4, v5). No longer maintained—use ramsey/uuid instead. | 5 | 18 | 3 | 4K | 0 | 0.1 | 27.5 | MIT | — | |
| phpunit/phpunit | 0.65 | PHPUnit is the de facto unit testing framework for PHP, based on the xUnit architecture. Run tests, make assertions, and integrate with CI and code coverage. Install via PHAR or Composer and build reliable PHP applications. | 20,040 | 20,549 | 2,225 | 14M | 15 | 79.0 | 52.9 | BSD-3-Clause | 2 weeks ago | |
| spatie/phpunit-snapshot-assertions | 0.65 | Add snapshot testing to PHPUnit. Save expected output (JSON, arrays, strings, etc.) on first run and automatically compare on later runs to catch regressions with minimal assertions. Includes handy traits and snapshot update workflow for tests. | 696 | 700 | 74 | 607K | 0 | 30.7 | 46.3 | MIT | 2 months ago |
How can I help you explore Laravel packages today?