PHPackages                             wyrihaximus-net/x-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. wyrihaximus-net/x-headers

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

wyrihaximus-net/x-headers
=========================

The X-\* headers emitted by WyriHaximus.net and other related services

3.0.0(1y ago)11.0k2[1 issues](https://github.com/WyriHaximusNet/php-x-headers/issues)MITMakefilePHP ^8.2CI passing

Since Jan 13Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/WyriHaximusNet/php-x-headers)[ Packagist](https://packagist.org/packages/wyrihaximus-net/x-headers)[ GitHub Sponsors](https://github.com/WyriHaximus)[ RSS](/packages/wyrihaximus-net-x-headers/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (1)Versions (10)Used By (0)

X-\* headers emitted by WyriHaximus.net and other related services
==================================================================

[](#x--headers-emitted-by-wyrihaximusnet-and-other-related-services)

[![Continuous Integration](https://github.com/wyrihaximusnet/php-x-headers/workflows/Continuous%20Integration/badge.svg)](https://github.com/wyrihaximusnet/php-x-headers/workflows/Continuous%20Integration/badge.svg)[![Latest Stable Version](https://camo.githubusercontent.com/cacfc634c850e27d13a41a4d750ddf687ffb21a48b84c422d322af1b2ec51c61/68747470733a2f2f706f7365722e707567782e6f72672f77797269686178696d75732d6e65742f782d686561646572732f762f737461626c652e706e67)](https://packagist.org/packages/wyrihaximus-net/x-headers)[![Total Downloads](https://camo.githubusercontent.com/41b0089aa29fa6c83a04ab02420d5aa2ea010321763f14f9eab1b5fd35a17ad3/68747470733a2f2f706f7365722e707567782e6f72672f77797269686178696d75732d6e65742f782d686561646572732f646f776e6c6f6164732e706e67)](https://packagist.org/packages/wyrihaximus-net/x-headers/stats)[![Type Coverage](https://camo.githubusercontent.com/a81f2fc1493cc64616d138e786998726483bdf0e08f4824daec870666774cf28/68747470733a2f2f73686570686572642e6465762f6769746875622f77797269686178696d75736e65742f7068702d782d686561646572732f636f7665726167652e737667)](https://shepherd.dev/github/wyrihaximusnet/php-x-headers)[![License](https://camo.githubusercontent.com/ca39a964e5ed0b21847f87d44aa1fa9bc6a5be139122262dbca5cccde3893c40/68747470733a2f2f706f7365722e707567782e6f72672f77797269686178696d75732d6e65742f782d686561646572732f6c6963656e73652e706e67)](https://packagist.org/packages/wyrihaximus-net/x-headers)

### Installation

[](#installation)

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-net/x-headers

```

Usage
-----

[](#usage)

The following echo's a random header from the set:

```
$headers = Headers::HEADERS;
echo $headers[random_int(0, (count($headers) - 1))];
```

Alternatively you can get a list of randomly selected headers:

```
var_export(Headers::random(6));
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

License
-------

[](#license)

Copyright 2021 [WyriHaximus.net](https://wyrihaximus.net/)

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

43

—

FairBetter than 91% of packages

Maintenance45

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 72.4% 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 ~606 days

Total

5

Last Release

616d ago

Major Versions

1.1.0 → 2.0.02021-09-19

2.0.0 → 3.0.02024-09-03

PHP version history (3 changes)1.0.0PHP ^7.0

2.0.0PHP ^7.4

3.0.0PHP ^8.2

### 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 (21 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (2 commits)")[![wyrihaximus-net-renovate-bot[bot]](https://avatars.githubusercontent.com/u/19738034?v=4)](https://github.com/wyrihaximus-net-renovate-bot[bot] "wyrihaximus-net-renovate-bot[bot] (2 commits)")[![jeroenvdgulik](https://avatars.githubusercontent.com/u/242090?v=4)](https://github.com/jeroenvdgulik "jeroenvdgulik (1 commits)")[![xsist10](https://avatars.githubusercontent.com/u/415488?v=4)](https://github.com/xsist10 "xsist10 (1 commits)")

---

Tags

hacktoberfest

### Embed Badge

![Health badge](/badges/wyrihaximus-net-x-headers/health.svg)

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

###  Alternatives

[lab1521/neaty-html

Cleans up HTML markup with Tidy

247.2k](/packages/lab1521-neaty-html)

PHPackages © 2026

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