PHPackages                             narrowspark/http-message-util - 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. narrowspark/http-message-util

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

narrowspark/http-message-util
=============================

This repository holds utility classes and constants to facilitate common operations of PSR-7.

v0.3.0(8y ago)423.2k1[5 PRs](https://github.com/narrowspark/http-message-util/pulls)MITPHPPHP ^7.1

Since Oct 26Pushed 3y ago1 watchersCompare

[ Source](https://github.com/narrowspark/http-message-util)[ Packagist](https://packagist.org/packages/narrowspark/http-message-util)[ Docs](https://github.com/narrowspark/http-message-util)[ RSS](/packages/narrowspark-http-message-util/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (7)Versions (9)Used By (0)

Http Message Util
-----------------

[](#http-message-util)

### This repository holds utility classes and constants to facilitate common operations of PSR-7.

[](#this-repository-holds-utility-classes-and-constants-to-facilitate-common-operations-of-psr-7)

 [![](https://camo.githubusercontent.com/27c3bca250964d46e3239934bb65385b8b8da9b233303e7c554e0ac2f2b526ec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6172726f77737061726b2f687474702d6d6573736167652d7574696c2e7376673f7374796c653d666c61742d737175617265)](https://github.com/narrowspark/http-message-util/releases) [![](https://camo.githubusercontent.com/ab7fe63842562e04165cc26c7c4d7bb3fb3ce70457def49e5e2c8bbf0eef29ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545372e312e302d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/) [![](https://camo.githubusercontent.com/18bd1cafbeea81c268e0e5f442708ed10b2c487b0761362cab2cf33d4b9957a2/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6e6172726f77737061726b2f687474702d6d6573736167652d7574696c2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/narrowspark/http-message-util) [![](https://camo.githubusercontent.com/1f34b6d71568c80e7d670a2df5f39839cc10901b7b091c45cb08a4abb8ac9cdd/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6e6172726f77737061726b2f687474702d6d6573736167652d7574696c2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/gh/narrowspark/http-message-util) [![](https://camo.githubusercontent.com/34baa5239b068c52298d05f445d8a336dae689eea791017e7a5f4233ac6dec7a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6172726f77737061726b2f687474702d6d6573736167652d7574696c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/narrowspark/http-message-util) [![](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](http://opensource.org/licenses/MIT)

Each header class is named after the specific http header and has the following functions for parsing and signing.

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

[](#installation)

```
$ composer require narrowspark/http-message-util
```

Use
---

[](#use)

Here's an example using the InteractsWithAcceptLanguage class:

```
