PHPackages                             quillstack/header-bag - 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. quillstack/header-bag

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

quillstack/header-bag
=====================

A simple solution to use headers according to PSR-7.

v0.0.3(4y ago)12492MITPHPPHP ^8.0

Since Oct 5Pushed 4y agoCompare

[ Source](https://github.com/quillstack/header-bag)[ Packagist](https://packagist.org/packages/quillstack/header-bag)[ Docs](https://quillstack.org/headers)[ RSS](/packages/quillstack-header-bag/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (2)

Quillstack Headers
==================

[](#quillstack-headers)

[![Build Status](https://camo.githubusercontent.com/1e0a7a4dc810caec7dd5035cdb4e61c3aa1cf3d3b05fb6cf550f11ec6ecf3927/68747470733a2f2f6170702e7472617669732d63692e636f6d2f7175696c6c737461636b2f6865616465722d6261672e7376673f6272616e63683d6d61696e)](https://app.travis-ci.com/quillstack/header-bag)[![Downloads](https://camo.githubusercontent.com/809cf44d1bfcbc12a8723660848b1ea80502493e120f62cbe5790b2e8444f5e8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7175696c6c737461636b2f6865616465722d6261672e737667)](https://packagist.org/packages/quillstack/header-bag)[![Coverage](https://camo.githubusercontent.com/d5b42e88d1198fbdb491fba5ec045193082954a4af76f3aeb526b41369ef6654/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d7175696c6c737461636b5f6865616465722d626167266d65747269633d636f766572616765)](https://sonarcloud.io/dashboard?id=quillstack_header-bag)[![Lines of Code](https://camo.githubusercontent.com/ddc6d1053e98cd97baa042291d165c0be9e890cbd073001e8cb67c1e79f96d95/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d7175696c6c737461636b5f6865616465722d626167266d65747269633d6e636c6f63)](https://sonarcloud.io/dashboard?id=quillstack_header-bag)[![StyleCI](https://camo.githubusercontent.com/8b9d32aad8ab1f7e653a3b69c623c3e81e65b0fba490b035ef5a130a9507bef3/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3239353134323732352f736869656c643f6272616e63683d6d61696e)](https://github.styleci.io/repos/295142725?branch=main)[![CodeFactor](https://camo.githubusercontent.com/e612d1f74763b400d530d90a2f540add4bfb7ddbb98b78ec0cbb4ae0169fea65/68747470733a2f2f7777772e636f6465666163746f722e696f2f7265706f7369746f72792f6769746875622f7175696c6c737461636b2f6865616465722d6261672f6261646765)](https://www.codefactor.io/repository/github/quillstack/header-bag)[![Packagist License](https://camo.githubusercontent.com/818e60329b62c62244753fb74ecd8c3ad0bc9bf958d557c5dae18f986b98ea07/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7175696c6c737461636b2f6865616465722d626167)](https://camo.githubusercontent.com/818e60329b62c62244753fb74ecd8c3ad0bc9bf958d557c5dae18f986b98ea07/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7175696c6c737461636b2f6865616465722d626167)[![Reliability Rating](https://camo.githubusercontent.com/295782c783cd8b8dba05af714e2ad0c85a1b82c4c568b17cd8fd050e84063813/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d7175696c6c737461636b5f6865616465722d626167266d65747269633d72656c696162696c6974795f726174696e67)](https://sonarcloud.io/dashboard?id=quillstack_header-bag)[![Maintainability](https://camo.githubusercontent.com/fabd015c5bf99ef919346057351061b99bd59a287a811310c0dedd9f9e88d03c/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f34376363353738326466343063393038326638622f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/quillstack/header-bag/maintainability)[![Security Rating](https://camo.githubusercontent.com/688f5510bed0d5ce47311fd7655abc8a4ede6b7daff9e6fb667e60c449ed983d/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d7175696c6c737461636b5f6865616465722d626167266d65747269633d73656375726974795f726174696e67)](https://sonarcloud.io/dashboard?id=quillstack_header-bag)[![Packagist PHP Version Support](https://camo.githubusercontent.com/aa54444779899679552b58010e82427ef0711111711b46b27f2b61825b68454a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7175696c6c737461636b2f6865616465722d626167)](https://camo.githubusercontent.com/aa54444779899679552b58010e82427ef0711111711b46b27f2b61825b68454a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7175696c6c737461636b2f6865616465722d626167)

A simple solution to use headers according to PSR-7. You can install this library, if you need to use headers in your project. This implementation can be used in HTTP requests and responses. You can find the full documentation on the website:

### Unit tests

[](#unit-tests)

Run tests using a command:

```
phpdbg -qrr ./vendor/bin/unit-tests

```

Docker
------

[](#docker)

```
$ docker-compose up -d
$ docker exec -w /var/www/html -it quillstack_header-bag sh
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~46 days

Total

3

Last Release

1684d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44390595?v=4)[Radek Ziemniewicz](/maintainers/radek-ziemniewicz)[@radek-ziemniewicz](https://github.com/radek-ziemniewicz)

---

Top Contributors

[![radek-ziemniewicz](https://avatars.githubusercontent.com/u/44390595?v=4)](https://github.com/radek-ziemniewicz "radek-ziemniewicz (11 commits)")

---

Tags

header-bagheadershttpphpphp8psr-7httppsr-7phpheadersPHP7header-bag

### Embed Badge

![Health badge](/badges/quillstack-header-bag/health.svg)

```
[![Health](https://phpackages.com/badges/quillstack-header-bag/health.svg)](https://phpackages.com/packages/quillstack-header-bag)
```

###  Alternatives

[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

7.9k1.1B4.4k](/packages/guzzlehttp-psr7)[mimmi20/browser-detector

Library to detect Browsers and Devices

49158.4k5](/packages/mimmi20-browser-detector)[sunrise/http-router

A powerful solution as the foundation of your project.

16852.3k12](/packages/sunrise-http-router)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28153.9k](/packages/phpro-http-tools)

PHPackages © 2026

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