symfony/polyfill
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...
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| symfony/polyfill-php72 | 0.92 | 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,723 | 4,743 | 5 | 4M | 0 | 23.8 | 40.7 | MIT | — | |
| symfony/polyfill-php56 | 0.92 | 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,551 | 1,553 | 2 | 2M | 0 | 7.8 | 43.1 | MIT | — | |
| symfony/polyfill-php80 | 0.92 | 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-php82 | 0.91 | Symfony polyfill backporting PHP 8.2 features to older PHP versions: AllowDynamicProperties, SensitiveParameter redaction, Random engines, ODBC connection string helpers, and ini_parse_quantity. Drop-in compatibility without requiring PHP 8.2. Part of the Symfony Polyfill family, MIT licensed. | 70 | 69 | 2 | 15M | 0 | 20.3 | 64.1 | MIT | 1 month ago | |
| symfony/polyfill-php84 | 0.91 | 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 | |
| sylius-labs/polyfill-symfony-framework-bundle | 0.91 | PolyfillSymfonyFrameworkBundle provides a lightweight polyfill for Symfony’s FrameworkBundle, helping apps and libraries run when the full FrameworkBundle isn’t available. Useful for compatibility across Symfony versions and reduced dependencies. | 13 | 13 | 5 | 55K | 0 | 0.8 | 49.6 | — | 4 years ago | |
| symfony/polyfill-php70 | 0.91 | 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-php73 | 0.91 | Symfony polyfill providing PHP 7.3 functions on older PHP versions: array_key_first, array_key_last, hrtime, is_countable, and JsonException. Drop-in compatibility, MIT licensed. | 2,369 | 2,372 | 6 | 9M | 0 | 22.5 | 53.6 | MIT | 6 months ago | |
| symfony/polyfill-util | 0.91 | A small Symfony utility polyfill that provides shared helper classes and functions used by other Symfony polyfill packages. It is not intended for direct use; include it when a polyfill depends on it to support compatibility across PHP versions. | 1,312 | — | 3 | — | 0 | 24.6 | — | MIT | 1 month ago |
|
| symfony/polyfill-php85 | 0.91 | Symfony polyfill that brings PHP 8.5 core features to older PHP versions, including get_error_handler, get_exception_handler, NoDiscard, array_first, array_last, DelayedTargetValidation, Filter exceptions, and locale_is_right_to_left. MIT licensed. | 67 | 67 | 2 | 25M | 0 | 20.9 | 64.1 | MIT | 1 month ago | |
| symfony/polyfill-php81 | 0.91 | 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 | |
| symfony/polyfill-php83 | 0.91 | 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 | |
| sylius-labs/polyfill-symfony-security | 0.91 | PolyfillSymfonySecurity provides compatibility shims for Symfony Security, helping apps and libraries bridge differences across Symfony versions. Useful when supporting multiple Symfony releases without changing your codebase or adding hard dependencies. | 13 | 13 | 4 | 60K | 0 | 1.1 | 50.2 | — | 3 years ago | |
| symfony/polyfill-intl-idn | 0.90 | Provides polyfills for the Intl IDN functions idn_to_ascii() and idn_to_utf8(), enabling Internationalized Domain Name conversion on PHP installations without the intl extension. Part of Symfony’s Polyfill suite, MIT licensed. | 3,343 | 3,350 | 8 | 18M | 0 | 37.1 | 59.9 | MIT | 1 month ago | |
| symfony/polyfill-mbstring | 0.90 | Provides a partial, native PHP implementation of the Mbstring extension, letting applications use multibyte string functions even when the mbstring extension is unavailable. Part of the Symfony Polyfill family and released under the MIT license. | 7,815 | 7,846 | 39 | 20M | 0 | 48.5 | 55.2 | MIT | 1 week ago | |
| symfony/polyfill-php86 | 0.90 | Symfony polyfill that backports PHP 8.6 features to older PHP versions, including clamp(), the ARRAY_FILTER_USE_VALUE constant, the SortDirection enum, and grapheme_strrev. A lightweight MIT-licensed compatibility layer for existing projects. | 22 | 14 | 0 | 17M | 0 | 20.3 | 64.1 | MIT | 1 month ago | |
| symfony/polyfill-ctype | 0.90 | Provides ctype_* functions (ctype_alpha, ctype_digit, ctype_alnum, and more) for PHP installations missing the ctype extension, ensuring portable character-type checks across environments. Part of the Symfony Polyfill family. | 4,029 | 4,046 | 7 | 17M | 0 | 30.4 | 54.1 | MIT | 6 months ago | |
| symfony/polyfill-intl-normalizer | 0.90 | Provides a pure-PHP fallback for the Normalizer class from PHP's Intl extension, enabling Unicode string normalization without requiring intl to be installed. | 2,060 | 2,057 | 4 | 21M | 0 | 30.9 | 64.2 | MIT | 1 month ago | |
| symfony/polyfill-uuid | 0.87 | Symfony polyfill for the PHP uuid extension. It provides the uuid_* functions on PHP installations without ext-uuid, so applications and libraries can use UUID helpers without requiring the extension. Lightweight, MIT-licensed, and maintained by Symfony. | 686 | 689 | 2 | 24M | 0 | 23.1 | 64.1 | MIT | 1 month ago |
How can I help you explore Laravel packages today?