PHPackages                             chunyu/jwt - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. chunyu/jwt

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

chunyu/jwt
==========

A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.

021PHP

Since Aug 29Pushed 7y agoCompare

[ Source](https://github.com/chunyu-zhou/jwt)[ Packagist](https://packagist.org/packages/chunyu/jwt)[ RSS](/packages/chunyu-jwt/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP-JWT
=======

[](#php-jwt)

A simple library to encode and decode JSON Web Tokens (JWT) in PHP, conforming to [RFC 7519](https://tools.ietf.org/html/rfc7519).

Installation
------------

[](#installation)

Use composer to manage your dependencies and download PHP-JWT:

```
composer require chunyu/jwt
```

Example
-------

[](#example)

```
