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

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

fyre/header
===========

A HTTP header library.

v2.0.16(10mo ago)1466↓85.7%MITPHP

Since Dec 9Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/elusivecodes/FyreHeader)[ Packagist](https://packagist.org/packages/fyre/header)[ RSS](/packages/fyre-header/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (10)Dependencies (4)Versions (28)Used By (0)

FyreHeader
==========

[](#fyreheader)

**FyreHeader** is a free, open-source immutable HTTP header library for *PHP*.

Table Of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Basic Usage](#basic-usage)
- [Methods](#methods)

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

[](#installation)

**Using Composer**

```
composer require fyre/header

```

In PHP:

```
use Fyre\Http\Header;
```

Basic Usage
-----------

[](#basic-usage)

- `$name` is a string representing the header name.
- `$value` is a string or array representing the header value.

```
$header = new Header($name, $value);
```

Methods
-------

[](#methods)

**Append Value**

Append a value to the header.

- `$value` is a string representing the value to append.

```
$newHeader = $header->appendValue($value);
```

**Get Header String**

Get the header string.

```
$headerString = $header->getHeaderString();
```

**Get Name**

Get the header name.

```
$name = $header->getName();
```

**Get Value**

Get the header value.

```
$value = $header->getValue();
```

**Get Value String**

Get the header value as a string.

```
$value = $header->getValueString();
```

**Prepend Value**

Prepend a value to the header.

- `$value` is a string representing the value to prepend.

```
$newHeader = $header->prependValue($value);
```

**Set Value**

Set the header value.

- `$value` is a string representing the header value.

```
$newHeader = $header->setValue($value);
```

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance54

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Recently: every ~16 days

Total

27

Last Release

314d ago

Major Versions

v1.0.11 → v2.02023-07-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/fad81fd5941e3a637c8a5749d05ae3ed9314d5e2fee57f59c3d9ec3b41259c6b?d=identicon)[elusivecodes](/maintainers/elusivecodes)

---

Top Contributors

[![elusivecodes](https://avatars.githubusercontent.com/u/18050480?v=4)](https://github.com/elusivecodes "elusivecodes (17 commits)")

---

Tags

headerhttpphp

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25025.5M80](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.5k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87930.4k113](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.3M84](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69122.6k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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