1 |
efrain |
1 |
getallheaders
|
|
|
2 |
=============
|
|
|
3 |
|
|
|
4 |
PHP `getallheaders()` polyfill. Compatible with PHP >= 5.3.
|
|
|
5 |
|
|
|
6 |
[](https://travis-ci.org/ralouphie/getallheaders)
|
|
|
7 |
[](https://coveralls.io/r/ralouphie/getallheaders?branch=master)
|
|
|
8 |
[](https://packagist.org/packages/ralouphie/getallheaders)
|
|
|
9 |
[](https://packagist.org/packages/ralouphie/getallheaders)
|
|
|
10 |
[](https://packagist.org/packages/ralouphie/getallheaders)
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
This is a simple polyfill for [`getallheaders()`](http://www.php.net/manual/en/function.getallheaders.php).
|
|
|
14 |
|
|
|
15 |
## Install
|
|
|
16 |
|
|
|
17 |
For PHP version **`>= 5.6`**:
|
|
|
18 |
|
|
|
19 |
```
|
|
|
20 |
composer require ralouphie/getallheaders
|
|
|
21 |
```
|
|
|
22 |
|
|
|
23 |
For PHP version **`< 5.6`**:
|
|
|
24 |
|
|
|
25 |
```
|
|
|
26 |
composer require ralouphie/getallheaders "^2"
|
|
|
27 |
```
|