PHPackages                             healthengine/popeye - 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. [Framework](/categories/framework)
4. /
5. healthengine/popeye

AbandonedArchivedLibrary[Framework](/categories/framework)

healthengine/popeye
===================

Popeye is a generic middleware stack inspired by the Slim micro framework

1.1(7y ago)1181[2 issues](https://github.com/HealthEngineAU/popeye/issues)[1 PRs](https://github.com/HealthEngineAU/popeye/pulls)MITPHPPHP &gt;=7.2.0

Since Mar 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/HealthEngineAU/popeye)[ Packagist](https://packagist.org/packages/healthengine/popeye)[ RSS](/packages/healthengine-popeye/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (4)Used By (0)

Popeye
======

[](#popeye)

[![Build Status](https://camo.githubusercontent.com/18bdb18d5bd337020a72a21ddcf23391dedf4dfcdfccce926861f99adcf283a1/68747470733a2f2f7472617669732d63692e6f72672f4865616c7468456e67696e6541552f706f706579652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/HealthEngineAU/popeye)[![Coverage Status](https://camo.githubusercontent.com/7dc165d5b6ee74180b23a4243fbe2335ab7ef5e7a5650da622519cff9c4dfe0c/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f4865616c7468456e67696e6541552f706f706579652f62616467652e7376673f6272616e63683d636f766572616c6c73)](https://coveralls.io/github/HealthEngineAU/popeye?branch=coveralls)

Popeye is a generic middleware stack - because HTTP isn't the only thing that deserves middleware.

Usage
-----

[](#usage)

This is a tiny library and is very easy to use. It's similar to [Slim](https://www.slimframework.com/docs/v3/concepts/middleware.html)'s middleware implementation except it isn't specific to HTTP - it can be used in any context. The following is an example that adds some type safety.

```
