PHPackages                             dmt-software/auth-middleware - 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. dmt-software/auth-middleware

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

dmt-software/auth-middleware
============================

Authentication and authorization middleware for psr-7 request

v1.1.0(7y ago)01761MITPHPPHP ^7.1

Since Mar 19Pushed 7y ago1 watchersCompare

[ Source](https://github.com/dmt-software/auth-middleware)[ Packagist](https://packagist.org/packages/dmt-software/auth-middleware)[ RSS](/packages/dmt-software-auth-middleware/feed)WikiDiscussions master Synced 3d ago

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

Auth-middleware
===============

[](#auth-middleware)

[![Build Status](https://camo.githubusercontent.com/48681e53d31b6117b053b04b4e8b3cd3067cbe1f338ffdb11be96e408701d8f5/68747470733a2f2f7472617669732d63692e6f72672f646d742d736f6674776172652f617574682d6d6964646c65776172652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/dmt-software/auth-middleware)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/e769d022e24a8a563826afc1b28b7d10deebdff4d027f7d953d616cec8efc2eb/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f646d742d736f6674776172652f617574682d6d6964646c65776172652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dmt-software/auth-middleware/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/eb5fc5820cfd30311cff336aec924f128281af3a0bf6cc59c88f2bcb6f1ed49e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f646d742d736f6674776172652f617574682d6d6964646c65776172652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dmt-software/auth-middleware/?branch=master)

Install
-------

[](#install)

`composer require dmt-software/auth-middleware`

Usage
-----

[](#usage)

### Example using GuzzleHttp\\Client

[](#example-using-guzzlehttpclient)

```
