PHPackages                             ckunkle/httpassage - 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. ckunkle/httpassage

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

ckunkle/httpassage
==================

A simple, flexible library for routing and processing PSR-7 messages

1.0.1(5y ago)013MITPHPPHP &gt;=7

Since Feb 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/curtiskunkle/httpassage)[ Packagist](https://packagist.org/packages/ckunkle/httpassage)[ RSS](/packages/ckunkle-httpassage/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (6)Versions (4)Used By (0)

HTTPassage
==========

[](#httpassage)

[![PHP](https://camo.githubusercontent.com/8d7b5f05ad17af2238c0247d9d9af063f5092448393e793b20950ceda3d5f37c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f636b756e6b6c652f68747470617373616765)](https://camo.githubusercontent.com/8d7b5f05ad17af2238c0247d9d9af063f5092448393e793b20950ceda3d5f37c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f636b756e6b6c652f68747470617373616765)[![Tag](https://camo.githubusercontent.com/86f769addabadaf95b44c306a64acf0e9427f0acc1b6aab1d7ce33e36ed4a115/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f6375727469736b756e6b6c652f68747470617373616765)](https://camo.githubusercontent.com/86f769addabadaf95b44c306a64acf0e9427f0acc1b6aab1d7ce33e36ed4a115/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f6375727469736b756e6b6c652f68747470617373616765)[![License](https://camo.githubusercontent.com/02d63d562c7cfaf5a6e34650134b4570fc90659dad5a4434bcf7a5e2c9f8e820/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6375727469736b756e6b6c652f68747470617373616765)](https://camo.githubusercontent.com/02d63d562c7cfaf5a6e34650134b4570fc90659dad5a4434bcf7a5e2c9f8e820/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6375727469736b756e6b6c652f68747470617373616765)

A simple, flexible library for routing and processing PSR-7 HTTP messages.

### Features

[](#features)

- HTTP request routing built on top of [AltoRouter](https://github.com/dannyvankooten/AltoRouter)
- Compatible with any [PSR-7](https://www.php-fig.org/psr/psr-7/) implementation
- Customizable callback system for processing requests and responses
- Compatible with [PSR-15](https://www.php-fig.org/psr/psr-15/) middleware and request handlers out of the box

### Installation

[](#installation)

```
composer require ckunkle/httpassage
```

### Quickstart

[](#quickstart)

This example uses `guzzlehttp/psr7` for the PSR-7 implementation, but any PSR-7 implementation will work here.

```
