PHPackages                             socialconnect/jwx - 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. socialconnect/jwx

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

socialconnect/jwx
=================

PHP library for JSON web tokens (JWT) and JWT

1.4.0(5mo ago)0663.6k↑12.9%44MITPHPPHP ^7.4|^8.0CI passing

Since Jul 18Pushed 5mo ago4 watchersCompare

[ Source](https://github.com/SocialConnect/jwx)[ Packagist](https://packagist.org/packages/socialconnect/jwx)[ RSS](/packages/socialconnect-jwx/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (2)Versions (8)Used By (4)

JWX
===

[](#jwx)

[![Packagist](https://camo.githubusercontent.com/24f288dfcd4b6ae35d5855f70f626e0ef1aa3adbf88cdf8e8aaae09e963481f1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f6369616c636f6e6e6563742f6a77782e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/socialconnect/jwx)[![License](https://camo.githubusercontent.com/9be06ecf016cdb296c9dea7195cb760447b892ffdadd002e79d60589bf10e45a/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f536f6369616c436f6e6e6563742f6a77782e7376673f7374796c653d666c61742d737175617265)](https://github.com/SocialConnect/jwx/blob/master/LICENSE)[![FOSSA Status](https://camo.githubusercontent.com/58b70f75764da992d633fdeffa3a29cc6a4c7a581fc856b301ae7b4a4584cbc5/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f6769742532426769746875622e636f6d253246536f6369616c436f6e6e6563742532466a77782e7376673f747970653d736869656c64)](https://app.fossa.io/projects/git%2Bgithub.com%2FSocialConnect%2Fjwx?ref=badge_shield)

[Documentation](https://socialconnect.lowl.io/jwx.html) :: [Getting Started](https://socialconnect.lowl.io/jwx.html)
--------------------------------------------------------------------------------------------------------------------

[](#documentation--getting-started)

Implementation:

- JWT (JSON Web Token) [RFC 7519](https://tools.ietf.org/html/rfc7519)
- JWK (JSON Web Keys) [RFC 7517](https://tools.ietf.org/html/rfc7517)
- JWKs (JSON Web Key Set) [RFC 7517](https://tools.ietf.org/html/rfc7517#section-8.4)

Encode
------

[](#encode)

```
