jpalala/simplyjwt

There is no license information available for the latest version (dev-main) of this package.

create jwt token

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:Hack

dev-main 2024-09-17 09:07 UTC

This package is not auto-updated.

Last update: 2024-11-27 08:16:53 UTC


README

a wrapper around ReallySimpleJWT for use in Laravel apps

NOTE: This is not yet a packagist thing but I'll set it up later on

Setup

  1. Ensure to set the .env for the issuer URL in the class

  2. Set up your project's composer.json to load this class if not yet on packagist

``` "autoload": { "psr-4": { "App\": "app/", "Jpalala\SimplyJWT\": "<packages_dir>/SimplyJWT/src/" } }


3. Register it in `config/app.php`

'providers' => [ // Other Service Providers... Jpalala\SimplyJWT\SimplyJWTServiceProvider::class, ],

# TODO

- Look into laravel packager conventions
- Create helpers/configs for easy installation and setup