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

Abandoned → [mezzio/mezzio-authorization](/?search=mezzio%2Fmezzio-authorization)Library[HTTP &amp; Networking](/categories/http)

zendframework/zend-expressive-authorization
===========================================

Authorization middleware for Expressive and PSR-7 applications

1.0.1(6y ago)2158.3k↓46.2%54BSD-3-ClausePHPPHP ^7.1CI failing

Since Sep 28Pushed 6y ago15 watchersCompare

[ Source](https://github.com/zendframework/zend-expressive-authorization)[ Packagist](https://packagist.org/packages/zendframework/zend-expressive-authorization)[ RSS](/packages/zendframework-zend-expressive-authorization/feed)WikiDiscussions master Synced 1mo ago

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

Expressive Authorization middleware
===================================

[](#expressive-authorization-middleware)

> ## Repository abandoned 2019-12-31
>
> [](#repository-abandoned-2019-12-31)
>
> This repository has moved to [mezzio/mezzio-authorization](https://github.com/mezzio/mezzio-authorization).

[![Build Status](https://camo.githubusercontent.com/e9477396675e6b24c479941086678398d8e6b4047edbbbe221c202e31efdd913/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f7a656e646672616d65776f726b2f7a656e642d657870726573736976652d617574686f72697a6174696f6e2e7376673f6272616e63683d6d6173746572)](https://secure.travis-ci.org/zendframework/zend-expressive-authorization)[![Coverage Status](https://camo.githubusercontent.com/1a5ab2bc19f87f72a5ff382276c95096cb23cf5c75ecad34098eac812a2b236d/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7a656e646672616d65776f726b2f7a656e642d657870726573736976652d617574686f72697a6174696f6e2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/zendframework/zend-expressive-authorization?branch=master)

Zend-expressive-authorization provides middleware for [Expressive](https://github.com/zendframework/zend-expressive)and [PSR-7](http://www.php-fig.org/psr/psr-7/) applications for authorizing specific routes based on [ACL](https://en.wikipedia.org/wiki/Access_control_list)or [RBAC](https://en.wikipedia.org/wiki/Role-based_access_control) systems.

Installation
------------

[](#installation)

You can install the zend-expressive-authorization library with [Composer](https://getcomposer.org):

```
$ composer require zendframework/zend-expressive-authorization
```

Documentation
-------------

[](#documentation)

Documentation is [in the doc tree](doc/book/), and can be compiled using [mkdocs](http://www.mkdocs.org):

```
$ mkdocs build
```

You may also [browse the documentation online](https://docs.zendframework.com/zend-expressive-authorization/).

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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

Every ~89 days

Recently: every ~123 days

Total

8

Last Release

2527d ago

Major Versions

0.3.0 → 1.0.0alpha12018-02-07

0.4.0 → 1.0.02018-09-11

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/296074?v=4)[Zend Framework](/maintainers/zendframework)[@zendframework](https://github.com/zendframework)

---

Top Contributors

[![weierophinney](https://avatars.githubusercontent.com/u/25943?v=4)](https://github.com/weierophinney "weierophinney (51 commits)")[![michalbundyra](https://avatars.githubusercontent.com/u/7423207?v=4)](https://github.com/michalbundyra "michalbundyra (40 commits)")[![ezimuel](https://avatars.githubusercontent.com/u/475967?v=4)](https://github.com/ezimuel "ezimuel (12 commits)")[![geerteltink](https://avatars.githubusercontent.com/u/9497586?v=4)](https://github.com/geerteltink "geerteltink (9 commits)")[![froschdesign](https://avatars.githubusercontent.com/u/103362?v=4)](https://github.com/froschdesign "froschdesign (4 commits)")[![Xerkus](https://avatars.githubusercontent.com/u/725842?v=4)](https://github.com/Xerkus "Xerkus (3 commits)")[![arueckauer](https://avatars.githubusercontent.com/u/1815979?v=4)](https://github.com/arueckauer "arueckauer (1 commits)")

---

Tags

authorizationauthorization-middlewaremiddlewarephppsr-15psr-7psr-7middlewarepsr-15authorizationZendFrameworkzfzend-expressive

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zendframework-zend-expressive-authorization/health.svg)

```
[![Health](https://phpackages.com/badges/zendframework-zend-expressive-authorization/health.svg)](https://phpackages.com/packages/zendframework-zend-expressive-authorization)
```

###  Alternatives

[mezzio/mezzio-authentication

Authentication middleware for Mezzio and PSR-7 applications

121.6M26](/packages/mezzio-mezzio-authentication)[mezzio/mezzio-authentication-oauth2

OAuth2 (server) authentication middleware for Mezzio and PSR-7 applications.

28483.0k2](/packages/mezzio-mezzio-authentication-oauth2)

PHPackages © 2026

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