PHPackages                             alexpts/php-jwt-service - 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. alexpts/php-jwt-service

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

alexpts/php-jwt-service
=======================

Simple service for work with jwt tokens

1.1.0(7y ago)0431MITPHPPHP ~7.2

Since Apr 15Pushed 7y ago1 watchersCompare

[ Source](https://github.com/alexpts/php-jwt-service)[ Packagist](https://packagist.org/packages/alexpts/php-jwt-service)[ Docs](https://github.com/alexpts/php-jwt-service)[ RSS](/packages/alexpts-php-jwt-service/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (1)

php-jwt-service
===============

[](#php-jwt-service)

[![Build Status](https://camo.githubusercontent.com/6bba24c97e40ccb5a890e3d28c0088b9fa50386f34661f4676d6691add3cb7e7/68747470733a2f2f7472617669732d63692e6f72672f616c65787074732f7068702d6a77742d736572766963652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/alexpts/php-jwt-service)[![Code Coverage](https://camo.githubusercontent.com/bc945f64281eb33c0ad9f0f5bcd41abe2b69e61bda7b47680de37d9d1be699e5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c65787074732f7068702d6a77742d736572766963652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/alexpts/php-jwt-service/?branch=master)[![Code Climate](https://camo.githubusercontent.com/7421b551e3a2cc5e3e32372bc57f418b9ff4794daa79baf528faa2bd7bdad1c8/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f616c65787074732f7068702d6a77742d736572766963652f6261646765732f6770612e737667)](https://codeclimate.com/github/alexpts/php-jwt-service)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/d02fd1bbb1b02392d09010d3f6cdcf5c1abd34519831cfa024d02f28d7d4722a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c65787074732f7068702d6a77742d736572766963652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/alexpts/php-jwt-service/?branch=master)

Simple service with work [JWT tokens](https://jwt.io/).

### Install

[](#install)

`composer require alexpts/php-jwt-service`

### Demo

[](#demo)

```
