jpalala / simplyjwt
create jwt token
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Hack
Requires
- rbdwllr/reallysimplejwt: dev-master
Requires (Dev)
- larastan/larastan: 2.x-dev
- phpfastcache/phpfastcache: dev-master
- predis/predis: ^3.0@alpha
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
-
Ensure to set the .env for the issuer URL in the class
-
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