You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1.1 KiB

3 years ago
  1. getallheaders
  2. =============
  3. PHP `getallheaders()` polyfill. Compatible with PHP >= 5.3.
  4. [![Build Status](https://travis-ci.org/ralouphie/getallheaders.svg?branch=master)](https://travis-ci.org/ralouphie/getallheaders)
  5. [![Coverage Status](https://coveralls.io/repos/ralouphie/getallheaders/badge.png?branch=master)](https://coveralls.io/r/ralouphie/getallheaders?branch=master)
  6. [![Latest Stable Version](https://poser.pugx.org/ralouphie/getallheaders/v/stable.png)](https://packagist.org/packages/ralouphie/getallheaders)
  7. [![Latest Unstable Version](https://poser.pugx.org/ralouphie/getallheaders/v/unstable.png)](https://packagist.org/packages/ralouphie/getallheaders)
  8. [![License](https://poser.pugx.org/ralouphie/getallheaders/license.png)](https://packagist.org/packages/ralouphie/getallheaders)
  9. This is a simple polyfill for [`getallheaders()`](http://www.php.net/manual/en/function.getallheaders.php).
  10. ## Install
  11. For PHP version **`>= 5.6`**:
  12. ```
  13. composer require ralouphie/getallheaders
  14. ```
  15. For PHP version **`< 5.6`**:
  16. ```
  17. composer require ralouphie/getallheaders "^2"
  18. ```