{"repo":"Dev-Toolbelt/jwt-token-manager","free":true,"listed":false,"github":"https://github.com/Dev-Toolbelt/jwt-token-manager","clone":"git clone https://github.com/Dev-Toolbelt/jwt-token-manager.git","description":"A framework-agnostic PHP library for encoding, decoding, and validating JSON Web Tokens (JWT) with support for RSA, HMAC, ECDSA, and EdDSA algorithms.","language":"PHP","stars":11,"topics":["agnostic-to-frameworks","api","authentication","authentication-backend","hmac","jwt","jwt-authentication","jwt-token","rsa","token"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"JWT Token Manager A framework-agnostic PHP library for encoding, decoding, and validating JSON Web Tokens (JWT) with support for RSA, HMAC, ECDSA, and EdDSA algorithms. Built with simplicity and security in mind, this package provides an easy way to manage JWT tokens without coupling your application to any specific framework. Features - Framework Agnostic - Use with Laravel, Symfony, Yii, Slim, or any PHP application - Multiple Algorithms - Support for HS256, HS384, HS512, RS256, RS384, RS512, ES256, ES384, ES512, PS256, PS384, PS512, and EdDSA - Type-Safe Configuration - Strongly typed Algorithm enum and configuration objects - Protected Claims - Critical claims (iss, sub, iat, exp, jti, sid) cannot be overridden for security - Flexible Validation - Configurable required claims and audience validation - Session Tracking - Built-in session ID (sid) and JWT ID (jti) generation using UUID v7 - Comprehensive Exceptions - Specific exceptions for expired, invalid, and malformed tokens - Timezone Support - Type-safe timezone configuration with a comprehensive Timezone enum covering all PHP supported timezones Requirements - PHP 8.1 or higher - OpenSSL extension (for RSA/ECDSA algorithms) Installation Install via Composer: Quick Start 1. Generate RSA Keys (if you don't have them) Before using the library, you'll need an RSA key pair for signing and verifying tokens. If you already have keys, skip to step 2. Linux / macOS Open your terminal and run: Windows Option 1: Using Git Bash ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Dev-Toolbelt","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Dev-Toolbelt/jwt-token-manager/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}