You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.1 KiB
Markdown
28 lines
1.1 KiB
Markdown
5 years ago
|
getallheaders
|
||
|
=============
|
||
|
|
||
|
PHP `getallheaders()` polyfill. Compatible with PHP >= 5.3.
|
||
|
|
||
|
[![Build Status](https://travis-ci.org/ralouphie/getallheaders.svg?branch=master)](https://travis-ci.org/ralouphie/getallheaders)
|
||
|
[![Coverage Status](https://coveralls.io/repos/ralouphie/getallheaders/badge.png?branch=master)](https://coveralls.io/r/ralouphie/getallheaders?branch=master)
|
||
|
[![Latest Stable Version](https://poser.pugx.org/ralouphie/getallheaders/v/stable.png)](https://packagist.org/packages/ralouphie/getallheaders)
|
||
|
[![Latest Unstable Version](https://poser.pugx.org/ralouphie/getallheaders/v/unstable.png)](https://packagist.org/packages/ralouphie/getallheaders)
|
||
|
[![License](https://poser.pugx.org/ralouphie/getallheaders/license.png)](https://packagist.org/packages/ralouphie/getallheaders)
|
||
|
|
||
|
|
||
|
This is a simple polyfill for [`getallheaders()`](http://www.php.net/manual/en/function.getallheaders.php).
|
||
|
|
||
|
## Install
|
||
|
|
||
|
For PHP version **`>= 5.6`**:
|
||
|
|
||
|
```
|
||
|
composer require ralouphie/getallheaders
|
||
|
```
|
||
|
|
||
|
For PHP version **`< 5.6`**:
|
||
|
|
||
|
```
|
||
|
composer require ralouphie/getallheaders "^2"
|
||
|
```
|