See rates for the top Laravel developers in Latin America

A simple library to work with JSON Web Token and JSON Web Signature

lcobucci/jwt image

lcobucci/jwt stats

Downloads
184.6M
Stars
7,143
Open Issues
8
Forks
589

View on GitHub →

JWT by lcobucci

The lcobucci/jwt package is a robust solution for handling JSON Web Tokens (JWT) and JSON Web Signatures (JWS) in Laravel, based on the standards defined in RFC 7519. This library provides an efficient way to manage token generation, validation, and parsing, crucial for secure authentication and authorization processes.

Key Features

  • Token Management: Simplifies the creation, validation, and parsing of JWTs.
  • Standards Compliant: Fully adheres to the JWT and JWS specifications outlined in RFC 7519.
  • Developer Friendly: Offers extensive documentation and a community-driven support channel on Gitter.

Installation

Install the package via Composer:

composer require lcobucci/jwt

Documentation and Resources

For a comprehensive guide on how to use the lcobucci/jwt package, refer to the official documentation available at lcobucci-jwt.readthedocs.io.

Whether you are implementing token-based authentication in your Laravel application or need a reliable library to handle JWTs, lcobucci/jwt provides the necessary tools to secure your applications effectively.

lcobucci photo

A software engineer that also loves to share his thoughts about quality, tests and OOP. Member of the PHP community and contributor to open source projects.

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.


Lcobucci Jwt Related Articles

Intervention Validation image

Intervention Validation

Read article
Protect Routes with JWT Tokens Using This Package for Laravel image

Protect Routes with JWT Tokens Using This Package for Laravel

Read article
Securing Laravel APIs using DreamFactory image

Securing Laravel APIs using DreamFactory

Read article
Generate API Documentation for Laravel with Scramble image

Generate API Documentation for Laravel with Scramble

Read article
Remove Sensitive Information from Laravel Apps image

Remove Sensitive Information from Laravel Apps

Read article
Laravel JWT Redis image

Laravel JWT Redis

Read article
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

Lucky Media
Laravel Forge logo

Laravel Forge

Easily create and manage your servers and deploy your Laravel applications in seconds.

Laravel Forge
Cut PHP Code Review Time & Bugs into Half with CodeRabbit logo

Cut PHP Code Review Time & Bugs into Half with CodeRabbit

CodeRabbit is an AI-powered code review tool that specializes in PHP and Laravel, running PHPStan and offering automated PR analysis, security checks, and custom review features while remaining free for open-source projects.

Cut PHP Code Review Time & Bugs into Half with CodeRabbit
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
LaraJobs logo

LaraJobs

The official Laravel job board

LaraJobs
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit