PHPackages                             soluble/wallit - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. soluble/wallit

ActiveLibrary[HTTP &amp; Networking](/categories/http)

soluble/wallit
==============

PSR-15 JWT middleware

0.5.1(7y ago)1205[1 issues](https://github.com/belgattitude/soluble-wallit/issues)MITPHPPHP ^7.1

Since Oct 17Pushed 7y ago2 watchersCompare

[ Source](https://github.com/belgattitude/soluble-wallit)[ Packagist](https://packagist.org/packages/soluble/wallit)[ Docs](https://github.com/belgattitude/soluble-wallit)[ RSS](/packages/soluble-wallit/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (21)Versions (9)Used By (0)

soluble-wallit
==============

[](#soluble-wallit)

[![PHP Version](https://camo.githubusercontent.com/c41e39196d4b40bb442a413f55cbc4c0b1b7d998de3e44f0fc282d696c1a9b79/687474703a2f2f696d672e736869656c64732e696f2f62616467652f7068702d372e312b2d6666363962342e737667)](https://packagist.org/packages/soluble/wallit)[![Build Status](https://camo.githubusercontent.com/3a6bdcd164e46d5504565437d2c60df999e0b6589a9190761978e69c090372d0/68747470733a2f2f7472617669732d63692e6f72672f62656c6761747469747564652f736f6c75626c652d77616c6c69742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/belgattitude/soluble-wallit)[![codecov](https://camo.githubusercontent.com/4b866ddd2d4a47f7c62641a6224bf5c385190f3cd2b0dd7088b76e3ed8081c78/68747470733a2f2f636f6465636f762e696f2f67682f62656c6761747469747564652f736f6c75626c652d77616c6c69742f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/belgattitude/soluble-wallit)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/18b3dd87e1002ddb390de14dfc53dd43e91faeeb47f61baabdc7456528b1407c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62656c6761747469747564652f736f6c75626c652d77616c6c69742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/belgattitude/soluble-wallit/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/f2c745cff8e835f2161826fd1ffcdbb638b4f7bdf047406c20aa22d497b2f767/68747470733a2f2f706f7365722e707567782e6f72672f736f6c75626c652f77616c6c69742f762f737461626c652e737667)](https://packagist.org/packages/soluble/wallit)[![Total Downloads](https://camo.githubusercontent.com/35deec6ab32fe8fb224d6358870a61b7258acb1f42c8687b0e4af88996c69098/68747470733a2f2f706f7365722e707567782e6f72672f736f6c75626c652f77616c6c69742f646f776e6c6f6164732e706e67)](https://packagist.org/packages/soluble/wallit)[![License](https://camo.githubusercontent.com/6a52d21ab6c68e1026be4dffbf992cc862e645897b7ad29fd10304dc7683e362/68747470733a2f2f706f7365722e707567782e6f72672f736f6c75626c652f77616c6c69742f6c6963656e73652e706e67)](https://packagist.org/packages/soluble/wallit)

PSR-15 Middleware for dealing with JWT generation and checks.

Status: **Experimental**. Not yet used in production, if interested take a look at the issues and feel welcome to make suggestions or open P/R :)

Requirements
------------

[](#requirements)

- PHP 7.1

Recommended
-----------

[](#recommended)

- [zend-expressive 3.0](https://github.com/zendframework/zend-expressive) (or any PSR-7 &amp; PSR-15 compatible framework)

> For zend-expressive 2.0 use the 0.3 release.

Install
-------

[](#install)

```
$ composer require soluble-wallit
```

Configure
---------

[](#configure)

Copy [soluble-wallit.config.php.dist](https://github.com/belgattitude/soluble-wallit/blob/master/config/soluble-wallit.config.php.dist) in your autoload directory.

```
cp ./vendor/soluble/wallit/config/soluble-wallit.config.php.dist ./config/autoload/soluble-wallit.config.local.php
```

Edit the config file and add your token keys

Register (zend-expressive 3.0)
------------------------------

[](#register-zend-expressive-30)

Ensure `Soluble\Wallit\Config\ConfigProvider::class` is registered in the `./config/config.php` file.

```
