Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-06T21:06:37.000Z (about 3 years ago)
- Last Synced: 2024-11-13T12:44:48.348Z (about 2 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
[![Build Status](https://app.travis-ci.com/quillstack/header-bag.svg?branch=main)](https://app.travis-ci.com/quillstack/header-bag)
[![Downloads](https://img.shields.io/packagist/dt/quillstack/header-bag.svg)](https://packagist.org/packages/quillstack/header-bag)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=quillstack_header-bag&metric=coverage)](https://sonarcloud.io/dashboard?id=quillstack_header-bag)
[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=quillstack_header-bag&metric=ncloc)](https://sonarcloud.io/dashboard?id=quillstack_header-bag)
[![StyleCI](https://github.styleci.io/repos/295142725/shield?branch=main)](https://github.styleci.io/repos/295142725?branch=main)
[![CodeFactor](https://www.codefactor.io/repository/github/quillstack/header-bag/badge)](https://www.codefactor.io/repository/github/quillstack/header-bag)
![Packagist License](https://img.shields.io/packagist/l/quillstack/header-bag)
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=quillstack_header-bag&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=quillstack_header-bag)
[![Maintainability](https://api.codeclimate.com/v1/badges/47cc5782df40c9082f8b/maintainability)](https://codeclimate.com/github/quillstack/header-bag/maintainability)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=quillstack_header-bag&metric=security_rating)](https://sonarcloud.io/dashboard?id=quillstack_header-bag)
![Packagist PHP Version Support](https://img.shields.io/packagist/php-v/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
```