Package: wnpp
Severity: wishlist
Owner: Ahmed Gamal <ahmed.gamal9...@gmail.com>

* Package name    : php-ralouphie-getallheaders
  Version         : 3.0.0
  Upstream Author : Ralph Khattar <ralph.khat...@gmail.com>
* URL             : https://github.com/ralouphie/getallheaders
* License         : MIT
  Programming Lang: PHP
  Section         : php

Description:
 PHP getallheaders() polyfill for cross-platform compatibility

 This package provides a polyfill for the PHP `getallheaders()` function,
 ensuring compatibility across different PHP environments and web servers.
 The `getallheaders()` function is not available on all PHP installations,
 particularly on some web servers, and this polyfill provides a consistent
 implementation.

 The polyfill is compatible with PHP >= 5.6 and provides the same interface
 as the native `getallheaders()` function, making it easy to use in
 applications that need to access HTTP headers in a cross-platform manner.

Rationale:
 This package is required as a dependency for FOSSology, an open source
license
 compliance system. FOSSology uses PHP-based tools for source code analysis
and
 license detection, which need to access HTTP headers in a consistent way
across
 different deployment environments.

 The getallheaders() polyfill is essential for:
 - Web-based tools in FOSSology that need to access HTTP headers
 - Cross-platform compatibility when deploying FOSSology on different
servers
 - Ensuring consistent behavior regardless of the underlying web server
 - Supporting applications that rely on HTTP header access for functionality

Technical Details:
 - Requires PHP >= 5.6
 - Provides a single function: getallheaders()
 - Uses file-based autoloading (src/getallheaders.php)
 - No runtime dependencies
 - Comprehensive test suite included
 - MIT licensed for maximum compatibility

Dependencies:
 - php (>= 5.6)
 - Build dependencies: phpunit (for testing)

The package will be maintained by Ahmed Gamal <ahmed.gamal9...@gmail.com>
as part
of the FOSSology packaging effort.

--
Ahmed Gamal
FOSSology Debian Packaging Team

Reply via email to