PHPackages                             api-clients/middleware-personal-authorization - 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. api-clients/middleware-personal-authorization

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

api-clients/middleware-personal-authorization
=============================================

Personal authorization middleware

1.0.0(7y ago)02151[2 PRs](https://github.com/php-api-clients/middleware-personal-authorization/pulls)MITPHPPHP ^7.0

Since Jul 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/php-api-clients/middleware-personal-authorization)[ Packagist](https://packagist.org/packages/api-clients/middleware-personal-authorization)[ RSS](/packages/api-clients-middleware-personal-authorization/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (3)Versions (4)Used By (0)

Personal authorization middleware
=================================

[](#personal-authorization-middleware)

[![Build Status](https://camo.githubusercontent.com/1e56ba2c2599857fedb7d8f5e8aec00248ac16dbf9c36ab7dc1cb61c3ffb064c/68747470733a2f2f7472617669732d63692e636f6d2f7068702d6170692d636c69656e74732f6d6964646c65776172652d706572736f6e616c2d617574686f72697a6174696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/php-api-clients/middleware-personal-authorization)[![Latest Stable Version](https://camo.githubusercontent.com/3f51830977ec99b4a11ba726522533bd44dd07dda8ef5d6a858c20b148f6cebd/68747470733a2f2f706f7365722e707567782e6f72672f6170692d636c69656e74732f6d6964646c65776172652d706572736f6e616c2d617574686f72697a6174696f6e2f762f737461626c652e706e67)](https://packagist.org/packages/api-clients/middleware-personal-authorization)[![Total Downloads](https://camo.githubusercontent.com/762902487fa0769ee5d113542092f29c459e932c562a727d949f47d338a85c82/68747470733a2f2f706f7365722e707567782e6f72672f6170692d636c69656e74732f6d6964646c65776172652d706572736f6e616c2d617574686f72697a6174696f6e2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/api-clients/middleware-personal-authorization)[![Code Coverage](https://camo.githubusercontent.com/28054a5496a1c6ff13589998e04c1f8dbf76ad90b19e3ab83d9b81e100c8a0d5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7068702d6170692d636c69656e74732f6d6964646c65776172652d706572736f6e616c2d617574686f72697a6174696f6e2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/php-api-clients/middleware-personal-authorization/?branch=master)[![License](https://camo.githubusercontent.com/185bb7fa75d19679f509f1552424cd978bb227772b96443a2e68897b00c580d1/68747470733a2f2f706f7365722e707567782e6f72672f6170692d636c69656e74732f6d6964646c65776172652d706572736f6e616c2d617574686f72697a6174696f6e2f6c6963656e73652e706e67)](https://packagist.org/packages/api-clients/middleware-personal-authorization)[![PHP 7 ready](https://camo.githubusercontent.com/8d9c7f7ef17ef1d567251786649fd619cf6cff56a7d97bf9cf51fb634fe4693c/687474703a2f2f7068703772656164792e74696d6573706c696e7465722e63682f7068702d6170692d636c69656e74732f6d6964646c65776172652d706572736f6e616c2d617574686f72697a6174696f6e2f62616467652e737667)](https://travis-ci.org/php-api-clients/middleware-personal-authorization)

Installation
============

[](#installation)

To install via [Composer](http://getcomposer.org/), use the command below, it will automatically detect the latest version and bind it with `^`.

```
composer require api-clients/middleware-personal-authorization

```

Usage
=====

[](#usage)

[See the transport package how to use this middleware.](https://github.com/php-api-clients/transport#middleware)

License
=======

[](#license)

The MIT License (MIT)

Copyright (c) 2017 Cees-Jan Kiewiet

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2857d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/147145?v=4)[Cees-Jan Kiewiet](/maintainers/WyriHaximus)[@WyriHaximus](https://github.com/WyriHaximus)

---

Top Contributors

[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (11 commits)")[![WyriHaximus](https://avatars.githubusercontent.com/u/147145?v=4)](https://github.com/WyriHaximus "WyriHaximus (11 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (9 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (2 commits)")[![mdrost](https://avatars.githubusercontent.com/u/4083346?v=4)](https://github.com/mdrost "mdrost (1 commits)")

---

Tags

hacktoberfest

### Embed Badge

![Health badge](/badges/api-clients-middleware-personal-authorization/health.svg)

```
[![Health](https://phpackages.com/badges/api-clients-middleware-personal-authorization/health.svg)](https://phpackages.com/packages/api-clients-middleware-personal-authorization)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
