Hire Laravel developers with AI expertise at $20/hr. Get started in 48 hours.

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.

Cube

Laravel Newsletter

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


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
Lucky Media logo

Lucky Media

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

Lucky Media
Typesense Search logo

Typesense Search

Typesense is an open source, blazing-fast search engine, optimized for helping you build delightful search experiences for your sites and apps. Natively integrated with Laravel Scout.

Typesense Search
Celebian logo

Celebian

Celebian is a social media marketing agency specializing in helping their clients go viral on TikTok. Whether you're looking to reach a bigger audience or gain more Tiktok followers, likes, and views, they've got you covered.

Celebian
SerpApi logo

SerpApi

Access real-time search engine results through a simple API—no more scraping headaches! Use it for AI applications, SEO tools, product research, travel information, and more

SerpApi
Laravel Cloud logo

Laravel Cloud

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

Laravel Cloud
Blastup logo

Blastup

Blastup provides social media enhancement services including buying Instagram likes, followers, and views, with features like instant delivery and a variety of packages to suit different needs.

Blastup