4 repositorios
Polyfills that provide modern PHP functions to legacy PHP 5.x environments lacking native support.
Distinct from PSR-5 Implementations: No candidate covers PHP 5.x compatibility polyfills; closest candidates are about PSR standards or PHP security auditing, not runtime polyfills.
Explore 4 awesome GitHub repositories matching development tools & productivity · PHP 5.x Compatibility Polyfills. Refine with filters or upvote what's useful.
randomcompat is a backward-compatibility library that provides cryptographically secure random number generation functions for PHP 5.x environments. It delivers the randombytes() and random_int() functions that are natively available in PHP 7+, enabling legacy applications to generate secure random bytes and unbiased integers from system entropy sources. The library implements a priority-based fallback chain across operating-system CSPRNGs, selecting the best available random source in order of security. It uses rejection sampling to convert raw random bytes into unbiased integers withi
Provides cryptographically secure random byte and integer generation functions for PHP 5.x environments.
This project is a PHP compatibility layer that implements multi-byte string functions for environments where the native Mbstring extension is not installed. It serves as a library for processing text in various character encodings to ensure consistent string handling across different servers. The library provides a set of tools for internationalization text handling, allowing for the processing of non-English characters and diverse languages. It ensures correct string length and manipulation for text containing characters beyond the basic ASCII set.
Implements multi-byte string functions for environments where the native Mbstring extension is not installed.
Este proyecto es un polyfill de compatibilidad de PHP diseñado para realizar backport de funciones y constantes principales de PHP 7.2 a versiones anteriores del lenguaje. Sirve como una extensión de la biblioteca estándar de PHP y backport de versión, proporcionando una capa de compatibilidad que llena los vacíos en el núcleo de PHP para asegurar un comportamiento consistente en diferentes entornos. La biblioteca permite la portabilidad de código entre versiones implementando funciones de la biblioteca estándar faltantes, permitiendo que las características del lenguaje más nuevas se ejecuten en entornos PHP heredados. Esto asegura que las aplicaciones puedan mantener una interfaz consistente y permanecer compatibles con las bibliotecas actuales incluso cuando se ejecutan en versiones obsoletas.
Implements core functions and constants from newer PHP versions to ensure compatibility with legacy environments.
This project is a PHP environment compatibility library and polyfill designed to provide a consistent interface for retrieving all incoming HTTP request headers. It functions as a request header parser that extracts and normalizes raw server variables into a predictable associative array. The library ensures cross-platform behavior by detecting missing native functions at runtime and injecting fallback implementations. This allows for standardized request header retrieval and server variable normalization across diverse server architectures and configurations.
Implements a compatibility layer that provides drop-in replacements for missing native PHP functions.