Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 5, 2024 via composer

ralouphie/getallheaders 3.0.3

A polyfill for getallheaders.
Package summary
Share
0
issues
1
license
1
MIT
Package created
2 Jun 2014
Version published
8 Mar 2019
Maintainers
1
Total deps
1
Direct deps
0
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
ralouphie/getallheaders@3.0.3
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
β“˜ This is a list of ralouphie/getallheaders 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does ralouphie/getallheaders do?

The ralouphie/getallheaders is a composer package that provides a polyfill for the PHP getallheaders() function. It's designed to fetch all HTTP headers from the current request, making it compatible even with PHP versions which naturally do not support this function. Perfect for those working with PHP versions 5.3 and above, thanks to its backward compatibility, it's a lightweight and simple tool for every PHP developer in handling and manipulating HTTP headers.

How do you use ralouphie/getallheaders?

To use ralouphie/getallheaders in your PHP project, you'll need to have Composer, the dependency manager for PHP, already installed. After that, installation is a breeze. If you're using a PHP version that is 5.6 or higher, you just have to run the following command in your terminal:

composer require ralouphie/getallheaders

For those using a PHP version that is less than 5.6, the command is slightly different:

composer require ralouphie/getallheaders "^2"

Once you've successfully installed the ralouphie/getallheaders package, you can easily call the getallheaders() function just like you would with any built-in PHP function.

Where are the ralouphie/getallheaders docs?

As for the documentation, the comprehensive guide on how to use and navigate through ralouphie/getallheaders is available on its GitHub repository page, located at https://github.com/ralouphie/getallheaders. The page is quite intuitive and well-explained, allowing developers to understand the usage and application of this polyfill function in their PHP projects.