mslwk/jwt

JSON Web Token handling library

1.0.2 2018-05-15 16:40 UTC

This package is auto-updated.

Last update: 2024-12-13 00:56:34 UTC


README

Scrutinizer Code Quality Code Coverage Build Status Latest Stable Version License Total Downloads

JSON Web Token encoder/decoder

The library provides dead easy way of creating and verifing JSON Web Tokens.

Installation

Use composer to include the library in your project.

composer require mslwk/jwt

Usage

Generating a token

Include the Generator class:

Alt text

Generate a token:

Alt text

Verifing a token

Include the Generator class:

Alt text

Generate a token:

Alt text