https://github.com/quillstack/header-bag
A simple solution to use headers according to PSR-7.
https://github.com/quillstack/header-bag
header-bag headers http php php8 psr-7
Last synced: 4 months ago
JSON representation
A simple solution to use headers according to PSR-7.
- Host: GitHub
- URL: https://github.com/quillstack/header-bag
- Owner: quillstack
- License: mit
- Created: 2020-09-13T12:05:12.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-01-06T21:06:37.000Z (over 3 years ago)
- Last Synced: 2025-02-19T06:35:18.615Z (5 months ago)
- Topics: header-bag, headers, http, php, php8, psr-7
- Language: PHP
- Homepage: https://quillstack.org/headers
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Quillstack Headers
[](https://app.travis-ci.com/quillstack/header-bag)
[](https://packagist.org/packages/quillstack/header-bag)
[](https://sonarcloud.io/dashboard?id=quillstack_header-bag)
[](https://sonarcloud.io/dashboard?id=quillstack_header-bag)
[](https://github.styleci.io/repos/295142725?branch=main)
[](https://www.codefactor.io/repository/github/quillstack/header-bag)

[](https://sonarcloud.io/dashboard?id=quillstack_header-bag)
[](https://codeclimate.com/github/quillstack/header-bag/maintainability)
[](https://sonarcloud.io/dashboard?id=quillstack_header-bag)
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: \
https://quillstack.org/headers### Unit tests
Run tests using a command:
```
phpdbg -qrr ./vendor/bin/unit-tests
```## Docker
```shell
$ docker-compose up -d
$ docker exec -w /var/www/html -it quillstack_header-bag sh
```