talira

Compare

lcobucci/jwtPHP-JWTjwt-auth
What it isFramework-agnostic PHP library to issue, parse and validate JSON Web TokensEncode and decode JSON Web Tokens in PHPJSON Web Token authentication for Laravel and Lumen
KindOpen sourceOpen sourceOpen source
Trust0.670.610.50
Stars7479980311472
Last commit2026-11-262026-11-172026-10-24
LicenceBSD-3-ClauseBSD-3-ClauseMIT
PricingFree and open sourceFree and open sourceFree and open source
Free tierYesYesYes
Self-hostable———
Ways to run it———
SOC 2———
HIPAA———
SSO———
API———
Plugins———
MCP server———
CompanyLuís CobucciGoogle
public company (NASDAQ:GOOGL)
Sean Tymon
Features
  • framework-agnostic: no framework dependency
  • HMAC, RSA, ECDSA and EdDSA signers, plus keyed BLAKE2b
  • issue, parse and validate tokens
  • guides for extending the library and rotating keys
  • Encodes and decodes JWTs per RFC 7519
  • HS256/384/512, RS256/384/512, ES256/384, PS256 and EdDSA (Ed25519)
  • Parses JSON Web Key sets
  • Fetches and caches JWKS from a public URL
  • Laravel auth guard that issues and checks JSON Web Tokens
  • signing with a shared secret or a public and private key pair
  • configurable token time to live and refresh time to live
  • required and persistent claims, and a lock on the token subject
  • token blacklist with a grace period
  • leeway for clock skew
Limitations
  • Signs and verifies tokens only: encryption (JWE) isn't supported yet.
  • Supports only signed JWTs (JWS): encrypted JWTs (JWE) aren't supported