Try Depot: Bring ultra-fast, remote Docker builds directly to your Laravel workflow

Jwt Auth

php-open-source-saver/jwt-auth image

Jwt Auth stats

Downloads
2.6M
Stars
619
Open Issues
15
Forks
94

View on GitHub →

JSON Web Token Authentication for Laravel and Lumen

PHPOpenSourceSaver/jwt-auth Package Summary

The php-open-source-saver/jwt-auth is a robust Laravel package designed for handling JWT (JSON Web Token) authentication. It emerges as an independent fork from the previously popular tymondesigns/jwt-auth due to the latter's lack of recent updates. This package aims to provide an updated and supported solution for developers needing JWT authentication in their Laravel applications.

Key Features

  • Ease of Migration: Transitioning from tymondesigns/jwt-auth to this package is streamlined. Developers can easily replace the namespace in their codebase, ensuring a smooth migration process.
  • Compatibility: Maintains the same API as the original, making it easy to integrate with existing Laravel applications.
  • Enhanced Support and Updates: As an independent fork, this package offers continued support and updates, addressing the stagnation issues of the original repository.

Installation and Usage

  1. Remove the old package:

    composer remove tymon/jwt-auth

    (Ignore any error that appears regarding the package still being in use.)

  2. Replace all occurrences of Tymon\JWTAuth with PHPOpenSourceSaver\JWTAuth using your IDE's Find and Replace feature.

  3. Install the new package:

    composer require php-open-source-saver/jwt-auth

Important Notes

  • While the API remains similar, some new features and changes might introduce minor compatibility issues, especially if autodiscovery has been disabled for the original package.
  • Notably, JWTGuard has a new required constructor parameter $eventDispatcher, which may affect existing implementations.

Documentation and Support

Complete and detailed documentation is available at laravel-jwt-auth.readthedocs.io. For security-related issues, please refer to the package's security policy.

This package is ideal for developers looking for a maintained and up-to-date JWT authentication solution for their Laravel applications, offering a straightforward migration path from the original tymondesigns/jwt-auth package.


Php Open Source Saver Jwt Auth Related Articles

Building a Kanban Board with Laravel and Vue.Draggable image

Building a Kanban Board with Laravel and Vue.Draggable

Read article
Building your own Laravel Packages image

Building your own Laravel Packages

Read article
A New Major Version of Ignition Debuts in Laravel 9 image

A New Major Version of Ignition Debuts in Laravel 9

Read article
Laravel Holiday Giveaway image

Laravel Holiday Giveaway

Read article
Minimalist Sublime Text 3 Setup for PHP image

Minimalist Sublime Text 3 Setup for PHP

Read article
Sending a daily email with Laravel and Campaign Monitor image

Sending a daily email with Laravel and Campaign Monitor

Read article
Laravel Cloud logo

Laravel Cloud

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

Laravel Cloud
Acquaint Softtech logo

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech
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
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift
Get expert guidance in a few days with a Laravel code review logo

Get expert guidance in a few days with a Laravel code review

Expert code review! Get clear, practical feedback from two Laravel devs with 10+ years of experience helping teams build better apps.

Get expert guidance in a few days with a Laravel code review
Harpoon: Next generation time tracking and invoicing logo

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing