PHPackages                             maksimovic/getallheaders - 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. maksimovic/getallheaders

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

maksimovic/getallheaders
========================

A polyfill for getallheaders.

4.0.0(2y ago)0141MITPHPPHP ^5.3 | ^7.0 | ^8.0

Since Jun 3Pushed 2y agoCompare

[ Source](https://github.com/maksimovic/getallheaders)[ Packagist](https://packagist.org/packages/maksimovic/getallheaders)[ RSS](/packages/maksimovic-getallheaders/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (17)Used By (0)

getallheaders
=============

[](#getallheaders)

This is a fork of  but with up-to-date CI runs and test coverage for PHP 7.0 -&gt; 8.2

PHP `getallheaders()` polyfill. Compatible with PHP &gt;= 5.3. Tested with &gt;=7.0

[![build_status](https://github.com/maksimovic/getallheaders/actions/workflows/ci.yml/badge.svg)](https://github.com/maksimovic/getallheaders/actions/workflows/ci.yml/badge.svg)[![codecov](https://camo.githubusercontent.com/5ed02dcfbdc85845e9978e1e02e5a55ca00a52bc7d173fb38f8096e0fa58a5df/68747470733a2f2f636f6465636f762e696f2f6769746875622f6d616b73696d6f7669632f676574616c6c686561646572732f6272616e63682f646576656c6f702f67726170682f62616467652e7376673f746f6b656e3d786f505a394e6c79474c)](https://codecov.io/github/maksimovic/getallheaders)[![License](https://camo.githubusercontent.com/39cb4a9decad177986c945fd1bc6a055d191749f98bfa67bd23af5525c132021/68747470733a2f2f706f7365722e707567782e6f72672f72616c6f75706869652f676574616c6c686561646572732f6c6963656e73652e706e67)](https://packagist.org/packages/ralouphie/getallheaders)

This is a simple polyfill for [`getallheaders()`](http://www.php.net/manual/en/function.getallheaders.php).

Install
-------

[](#install)

For PHP version **`>= 5.6`**:

```
composer require maksimovic/getallheaders

```

For PHP version **`< 5.6`**:

```
composer require maksimovic/getallheaders "^1.0.0"

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 62.1% 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 ~280 days

Recently: every ~430 days

Total

13

Last Release

999d ago

Major Versions

0.1.7 → 1.0.02016-01-29

1.0.0 → 2.0.02016-02-11

2.0.5 → 3.0.02018-12-06

3.0.3 → 4.0.02023-08-22

PHP version history (3 changes)0.1.7PHP &gt;=5.3

3.0.0PHP &gt;=5.6

4.0.0PHP ^5.3 | ^7.0 | ^8.0

### Community

Maintainers

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

---

Top Contributors

[![ralouphie](https://avatars.githubusercontent.com/u/1500005?v=4)](https://github.com/ralouphie "ralouphie (36 commits)")[![maksimovic](https://avatars.githubusercontent.com/u/1126226?v=4)](https://github.com/maksimovic "maksimovic (16 commits)")[![reedy](https://avatars.githubusercontent.com/u/67615?v=4)](https://github.com/reedy "reedy (3 commits)")[![gmponos](https://avatars.githubusercontent.com/u/5675248?v=4)](https://github.com/gmponos "gmponos (1 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (1 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/maksimovic-getallheaders/health.svg)

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

###  Alternatives

[tlr/menu

Take some of the stress and boilerplate out of building menus (or indeed any list, because that's basically what a menu is) With support for laravel

189.6k](/packages/tlr-menu)[thanhnamcnv/laravel-make-repository-service

A simple package to create a make:repository, make:service command for Laravel 8+

273.3k](/packages/thanhnamcnv-laravel-make-repository-service)[darkflib/php-qrcode

QRCode library for PHP

1016.2k](/packages/darkflib-php-qrcode)

PHPackages © 2026

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