ralouphie/getallheaders
Polyfill for PHP’s getallheaders() providing a consistent way to retrieve HTTP request headers across SAPI environments (CLI, built-in server, FPM, etc.). Lightweight, framework-agnostic, commonly used in PSR-7/HTTP tooling.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| padraic/humbug_get_contents | 0.81 | Drop-in replacement for file_get_contents() that secures HTTPS requests on PHP 5.3+ by injecting a strict SSL/TLS stream context (CA validation, verification). Helps prevent MITM attacks when fetching APIs, PHARs, or other remote content. | 125 | 126 | 14 | 25K | 5 | 2.2 | 23.0 | BSD-3-Clause | 8 years ago | |
| mmoreram/http-headers-bundle | 0.81 | A Symfony bundle by Marc Morera for managing HTTP response headers through configuration and annotations, letting you define cache, security, and custom headers declaratively instead of setting them manually in every controller. | 8 | 9 | 1 | 0 | 0 | 0.1 | — | — | 10 years ago | |
| symfony/polyfill-php81 | 0.81 | Symfony polyfill providing PHP 8.1 features on older PHP versions: array_is_list, enum_exists, ReturnTypeWillChange, MYSQLI_REFRESH_REPLICA, and CURLStringFile. | 877 | 880 | 8 | 13M | 0 | 17.4 | 60.7 | MIT | 5 months ago | |
| php-http/httplug | 0.81 | HTTPlug provides HTTP client abstraction interfaces for PHP, built on PSR-7 messages. Defines async HttpAsyncClient plus a sync HttpClient similar to PSR-18, enabling libraries to stay client-agnostic while supporting multiple HTTP implementations. | 2,586 | 2,599 | 40 | 7M | 1 | 18.2 | 47.4 | MIT | 2 years ago | |
| juststeveking/http-slim | 0.80 | A lightweight Laravel package for slimming HTTP responses, trimming unnecessary headers and overhead so your app returns leaner, cleaner, faster responses with minimal configuration. | 7 | 7 | 3 | 108 | 0 | 0.5 | 16.0 | MIT | 5 years ago | |
| symfony/polyfill-php83 | 0.80 | Symfony polyfill for PHP 8.3 backports PHP 8.3 features to older PHP versions, including json_validate, the Override attribute, mb_str_pad, str_increment/str_decrement, Date* exceptions, LDAP helpers, and stream_context_set_options. | 430 | 433 | 6 | 13M | 0 | 23.7 | 64.4 | MIT | 1 month ago | |
| jakeasmith/http_build_url | 0.80 | Pure-PHP drop-in for the PECL HTTP extension's http_build_url(). Parse URLs into components and reassemble them reliably, handling schemes, hosts, paths, query strings, and fragments. Ideal for merging parameters or rebuilding relative URLs without needing the extension installed. | 202 | — | 23 | — | 0 | 0.9 | — | MIT | 9 years ago |
|
| benkle/auto-preflight-bundle | 0.80 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| ramsey/http-range | 0.80 | Parse, validate, and work with HTTP Range headers in PHP. ramsey/http-range helps you interpret byte ranges, handle partial content requests, and generate correct range responses for downloads, media streaming, and resumable transfers. | 34 | 34 | 6 | 8K | 0 | 2.4 | 32.4 | MIT | 1 year ago | |
| kelunik/link-header-rfc5988 | 0.80 | Lightweight PHP library to parse and generate RFC 5988 HTTP Link headers. Convert Link header strings into structured relations/URIs and build compliant headers for responses. Useful for API pagination, HATEOAS links, and web discovery. | 5 | 5 | 2 | 5K | 0 | 0.4 | 40.3 | MIT | 9 years ago | |
| fruitcake/php-cors | 0.80 | Standalone PHP CORS library and Symfony HttpFoundation middleware implementing the W3C CORS spec. Configure allowed origins, methods, headers, exposed headers, and max-age; supports regex origin patterns. Used by Stack and Laravel integrations. | 317 | 323 | 20 | 21M | 2 | 7.3 | 56.6 | MIT | 11 months ago | |
| symfony/polyfill-iconv | 0.80 | Native PHP implementation of the iconv functions (except ob_iconv_handler) for environments lacking the iconv extension, provided as part of the Symfony Polyfill project. | 1,748 | 1,762 | 9 | 4M | 0 | 29.2 | 54.3 | MIT | 1 month ago | |
| symfony/polyfill-php80 | 0.80 | Symfony polyfill providing PHP 8.0 features on older PHP versions, including str_contains, str_starts_with, str_ends_with, Stringable, ValueError, PhpToken, fdiv, get_debug_type, and related functions/constants. MIT licensed. | 1,722 | 1,728 | 26 | 32M | 0 | 29.0 | 64.1 | MIT | 1 month ago | |
| symfony/polyfill | 0.80 | Symfony Polyfill backports newer PHP features and provides compatibility layers for missing extensions and functions, helping apps run across different PHP versions and configurations. It covers utilities like str_contains, array_key_first, mbstring/iconv, intl classes, UUID, and many PHP 7.2–8.x co... | 2,811 | 2,812 | 159 | 41K | 1 | 42.9 | 20.2 | MIT | 1 week ago | |
| fruitcake/laravel-cors | 0.79 | Laravel middleware to handle Cross-Origin Resource Sharing (CORS). Configure allowed origins, methods, headers, credentials, and exposed headers via a config file. Adds proper CORS response headers and supports preflight OPTIONS requests for APIs and SPAs. | 6,224 | 6,235 | 601 | 867K | 37 | 30.0 | 28.5 | MIT | 4 years ago | |
| mikefrancis/laravel-secureheaders | 0.79 | mikefrancis/laravel-secureheaders adds configurable security headers to Laravel responses via middleware, with sensible defaults for CSP, HSTS, X-Frame-Options, Referrer-Policy, and related protections. Easily customize headers to harden apps against clickjacking, MIME sniffing, and other common web... | 97 | — | 4 | — | 2 | 1.3 | — | — | 5 years ago | |
| symfony/polyfill-php70 | 0.79 | Symfony Polyfill PHP 7.0 provides compatibility shims for older PHP versions, letting modern PHP 7+ functions and features run on legacy environments. Used by Symfony components and many libraries to ensure consistent behavior across PHP versions. | 3,183 | 3,185 | 7 | 881K | 0 | 16.1 | 33.8 | MIT | — | |
| symfony/polyfill-php84 | 0.79 | Symfony polyfill that backports PHP 8.4 features to earlier PHP versions, including array_find, mb_trim, mb_ucfirst, fpow, bcdivmod, grapheme_str_split, the Deprecated attribute, PDO driver subclasses, and ReflectionConstant. | 146 | 147 | 5 | 25M | 0 | 21.1 | 64.1 | MIT | 1 month ago | |
| thesoftwarefanatics/php-html-parser | 0.79 | A PHP HTML parser for loading, traversing, and manipulating HTML documents. It provides a simple API for extracting elements, attributes, and text, making it useful for scraping, DOM-style processing, and HTML cleanup in PHP applications. | 33 | 33 | 10 | 936 | 4 | 1.8 | 20.8 | MIT | 7 years ago | |
| yakeing/get_header | 0.79 | yakeing/get_header is a lightweight Laravel/PHP package for retrieving HTTP headers from URLs. It provides a simple way to inspect response status, content type, redirects, and other header metadata in your applications. | 33 | 33 | 3 | 0 | 0 | 0.3 | — | MPL-2.0 | 7 years ago |
How can I help you explore Laravel packages today?