brossquad/jwt-auth

JWT Framework implementation for Laravel

v0.0.10 2019-10-26 11:24 UTC

This package is auto-updated.

Last update: 2020-06-26 13:06:35 UTC


README

Laravel fully customizable JWT provider

About

Installation

Installation via composer

composer require brossquad/jwt-auth

If you are on laravel 5.4 or less make sure you add BrosSquad\JWTAuth\JWTAuthProvider to your $providers array in app/config.php

'providers' => [
    ...
    BrosSquad\JWTAuth\JWTAuthProvider::class,
]

Publishing configuration

php artisan vendor:publish --provider="BrosSquad\JWTAuth\JWTAuthProvider"

Generating secret key for HMAC key signing

php artisan jwt:secret

This will update JWT_SECRET in your .env

It will override previous secret in the file, be careful when using

Configuration

Services

Licence