symfony/polyfill-php82
Provides forward compatibility for PHP 8.2 features on older PHP versions. Includes polyfills for new functions and behavior changes so Symfony and other libraries can run consistently across environments without requiring an immediate PHP upgrade.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| symfony/polyfill-php85 | 0.98 | Symfony Polyfill for PHP 8.5 features on older runtimes. Adds get_error_handler/get_exception_handler, NoDiscard attribute, array_first/array_last, DelayedTargetValidation, Filter exceptions, and locale_is_right_to_left. MIT licensed. | 51 | 52 | 2 | 12M | 0 | 19.9 | 63.9 | MIT | 1 month ago | |
| symfony/polyfill-php81 | 0.93 | Symfony Polyfill for PHP 8.1 features on older runtimes. Adds array_is_list, enum_exists, MYSQLI_REFRESH_REPLICA, ReturnTypeWillChange, and CURLStringFile (PHP 7.4+). Drop-in Composer dependency for wider compatibility. | 884 | 886 | 7 | 8M | 0 | 23.2 | 63.0 | MIT | 1 month ago | |
| symfony/polyfill-php80 | 0.93 | Backport of PHP 8.0 core features for older runtimes. Adds Stringable, fdiv, ValueError/UnhandledMatchError, FILTER_VALIDATE_BOOL, get_debug_type, PhpToken, preg_last_error_msg, str_contains/starts_with/ends_with, and get_resource_id. | 1,726 | 1,738 | 26 | 16M | 0 | 25.2 | 62.1 | MIT | 3 months ago | |
| symfony/polyfill-php72 | 0.93 | Symfony Polyfill for PHP 7.2: backports core and mbstring functions like spl_object_id, stream_isatty, mb_ord/mb_chr/mb_scrub, utf8_encode/decode, plus PHP 7.2 constants (PHP_FLOAT_*, PHP_OS_FAMILY) and Windows VT100 support. | 4,732 | 4,743 | 6 | 4M | 0 | 23.8 | 40.7 | MIT | — | |
| symfony/polyfill-php70 | 0.89 | 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,195 | 3,196 | 7 | 705K | 0 | 16.2 | 32.4 | MIT | — | |
| symfony/polyfill-php56 | 0.89 | Symfony polyfill providing PHP 5.6 features for older runtimes. Adds missing functions and constants so modern libraries can run on legacy PHP versions, smoothing compatibility across environments and easing upgrades without changing application code. | 1,558 | 1,560 | 2 | 1M | 0 | 7.9 | 40.6 | MIT | — | |
| symfony/polyfill-php83 | 0.88 | Symfony Polyfill for PHP 8.3 features on older runtimes. Provides json_validate, Override attribute, mb_str_pad, str_increment/str_decrement, Date* exceptions, SQLite3Exception, and updated ldap/stream context APIs. | 429 | 433 | 6 | 13M | 0 | 22.3 | 64.0 | MIT | 1 month ago | |
| symfony/polyfill-php84 | 0.87 | Symfony Polyfill for PHP 8.4 features, enabling newer core functions and APIs on older runtimes. Includes array_find/any/all, bcdivmod, Deprecated attribute, fpow, grapheme_str_split, mb_* trim/ucfirst/lcfirst, PDO subclasses, and ReflectionConstant. | 139 | 140 | 5 | 13M | 0 | 19.6 | 63.5 | MIT | 1 month ago | |
| symfony/polyfill-php86 | 0.85 | Symfony Polyfill Php86 brings upcoming PHP 8.6 features to older runtimes. Includes the clamp() function, ARRAY_FILTER_USE_VALUE constant, and the SortDirection enum. Ideal for forward-compatible code while staying on PHP 8.x. | 6 | 6 | 0 | 5M | 0 | 19.1 | 63.8 | MIT | 1 month ago |
How can I help you explore Laravel packages today?