PHPackages                             wyrihaximus/psr-7-ascii-headers - 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. wyrihaximus/psr-7-ascii-headers

ActiveLibrary

wyrihaximus/psr-7-ascii-headers
===============================

Add ASCII art to PSR-7 message headers

1.0.0(7y ago)45.4k1[3 PRs](https://github.com/WyriHaximus/php-psr-7-ascii-headers/pulls)1MITPHPPHP ^7.1CI failing

Since Aug 10Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/WyriHaximus/php-psr-7-ascii-headers)[ Packagist](https://packagist.org/packages/wyrihaximus/psr-7-ascii-headers)[ RSS](/packages/wyrihaximus-psr-7-ascii-headers/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (5)Used By (1)

Add ASCII art to PSR-7 message headers
======================================

[](#add-ascii-art-to-psr-7-message-headers)

[![Build Status](https://camo.githubusercontent.com/882ae905fd626fa84ed0b82620d9e5818809bfa22214868187a0f94048f86379/68747470733a2f2f7472617669732d63692e636f6d2f57797269486178696d75732f7068702d7073722d372d61736369692d686561646572732e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/WyriHaximus/php-psr-7-ascii-headers)[![Latest Stable Version](https://camo.githubusercontent.com/39279f105c5302be341435f6462943c786a54eb415a58ab03126a928f16f39cb/68747470733a2f2f706f7365722e707567782e6f72672f57797269486178696d75732f72782d7265636f696c2d6c6f6f7065722f762f737461626c652e706e67)](https://packagist.org/packages/WyriHaximus/rx-recoil-looper)[![Total Downloads](https://camo.githubusercontent.com/74e252d77b729b2ead5d3bc4daaa1c4e6ff408e95ce40a9ee6939a48db39d1f1/68747470733a2f2f706f7365722e707567782e6f72672f57797269486178696d75732f72782d7265636f696c2d6c6f6f7065722f646f776e6c6f6164732e706e67)](https://packagist.org/packages/WyriHaximus/rx-recoil-looper)[![Code Coverage](https://camo.githubusercontent.com/76f1e65c472f92b1e6eabd39b1609c1c595be5a84b1b061196f49d188dbebd80/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f57797269486178696d75732f7068702d7073722d372d61736369692d686561646572732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/WyriHaximus/php-psr-7-ascii-headers/?branch=master)[![License](https://camo.githubusercontent.com/7555779950aa30a53c0ad3b50414fc6ba61feda158ca0926dc930d70494157f7/68747470733a2f2f706f7365722e707567782e6f72672f57797269486178696d75732f72782d7265636f696c2d6c6f6f7065722f6c6963656e73652e706e67)](https://packagist.org/packages/WyriHaximus/rx-recoil-looper)[![PHP 7 ready](https://camo.githubusercontent.com/42718cddeb81248571079e9a79343ed0f98fbc659d6f1cf0bbf642e84f6d6cbf/687474703a2f2f7068703772656164792e74696d6573706c696e7465722e63682f57797269486178696d75732f72656163747068702d687474702d6d6964646c65776172652d636c6561722d626f64792f62616467652e737667)](https://travis-ci.org/WyriHaximus/reactphp-http-middleware-clear-body)

Install
=======

[](#install)

To install via [Composer](http://getcomposer.org/), use the command below, it will automatically detect the latest version and bind it with `^`.

```
composer require wyrihaximus/psr-7-ascii-headers

```

Usage
=====

[](#usage)

```
$header = 'X-Alpha';
$lines = ['a', 'b', 'c'];
$message = new Response();
$message = asciiArtHeaders($message, $header, ...$lines);
```

License
=======

[](#license)

The MIT License (MIT)

Copyright (c) 2018 Cees-Jan Kiewiet

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance54

Moderate activity, may be stable

Popularity24

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Unknown

Total

1

Last Release

2833d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/147145?v=4)[Cees-Jan Kiewiet](/maintainers/WyriHaximus)[@WyriHaximus](https://github.com/WyriHaximus)

---

Top Contributors

[![WyriHaximus](https://avatars.githubusercontent.com/u/147145?v=4)](https://github.com/WyriHaximus "WyriHaximus (17 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (14 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")[![sasezaki](https://avatars.githubusercontent.com/u/42755?v=4)](https://github.com/sasezaki "sasezaki (1 commits)")

---

Tags

hacktoberfest

### Embed Badge

![Health badge](/badges/wyrihaximus-psr-7-ascii-headers/health.svg)

```
[![Health](https://phpackages.com/badges/wyrihaximus-psr-7-ascii-headers/health.svg)](https://phpackages.com/packages/wyrihaximus-psr-7-ascii-headers)
```

PHPackages © 2026

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