symfony/polyfill
Symfony Polyfill backports newer PHP features and provides compatibility layers for missing extensions and functions. Use it to keep apps portable across PHP versions, smoothing gaps in intl, mbstring/iconv, uuid, and many core APIs.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| symfony/polyfill-php70 | 0.85 | 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,189 | 3,195 | 7 | 764K | 0 | 16.2 | 32.9 | MIT | — | |
| symfony/polyfill-deepclone | 0.85 | Pure-PHP polyfill for the deepclone extension. Provides deepclone_to_array() and deepclone_from_array() plus exceptions to clone/serialize value graphs while preserving identity, references, cycles, and private state. Uses a cache-friendly array wire format. | 12 | 11 | 0 | 4M | 0 | 22.3 | 64.9 | MIT | 4 weeks ago | |
| symfony/polyfill-php72 | 0.84 | 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,728 | 4,743 | 6 | 4M | 0 | 23.8 | 40.7 | MIT | — | |
| symfony/polyfill-php84 | 0.83 | 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 | 139 | 5 | 15M | 0 | 18.3 | 62.9 | MIT | 3 months ago | |
| symfony/polyfill-php56 | 0.83 | 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,556 | 1,557 | 2 | 1M | 0 | 7.8 | 40.8 | MIT | — | |
| symfony/polyfill-php73 | 0.83 | Symfony Polyfill for PHP 7.3: provides fallback implementations of core features for older PHP versions, including array_key_first/last, hrtime, is_countable, and JsonException, ensuring consistent behavior across environments. | 2,370 | 2,373 | 6 | 8M | 0 | 25.7 | 53.7 | MIT | 5 months ago | |
| symfony/polyfill-php86 | 0.82 | 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 | 8M | 0 | 20.4 | 64.3 | MIT | 1 month ago | |
| laravel/serializable-closure | 0.81 | Securely serialize and unserialize PHP closures with Laravel’s fork of opis/closure 3.x, updated for modern PHP without requiring FFI. Wrap closures in SerializableClosure, set a secret key for signing, serialize safely, then restore with getClosure(). | 608 | 609 | 49 | 14M | 0 | 35.2 | 64.9 | MIT | 3 weeks ago | |
| symfony/polyfill-php83 | 0.80 | 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. | 428 | 433 | 6 | 13M | 0 | 24.6 | 64.9 | MIT | 1 month ago | |
| cm2tech/serializer-bundle | 0.79 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 5 years ago | |
| axstrad/content-bundle | 0.79 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| nayjest/manipulator | 0.79 | Fast, lightweight PHP object manipulation helpers—like symfony/property-access but simpler (~300 LOC) and no reflection. Instantiate classes, set public properties, and assign values via setters from arrays (snake/camel case), with optional property creation. | 10 | 10 | 1 | 6K | 3 | 4.1 | 37.9 | MIT | 9 years ago | |
| symfony/serializer | 0.79 | Symfony Serializer component for converting object graphs and data structures to/from arrays and formats like JSON or XML. Supports powerful normalizers/encoders, metadata, naming and type handling—ideal for APIs, messaging, and data interchange. | 2,536 | 2,562 | 80 | 9M | 0 | 49.9 | 57.3 | MIT | 4 weeks ago | |
| symfony/serializer-pack | 0.79 | Symfony Serializer Pack is a Composer pack that installs and configures Symfony’s Serializer component for easy object normalization/denormalization, JSON/XML encoding, and API-friendly data handling. Ideal for Symfony apps needing flexible, extensible serialization. | 1,048 | 1,051 | 6 | 351K | 0 | 6.3 | 34.9 | MIT | 3 years ago | |
| myclabs/deep-copy | 0.79 | DeepCopy creates safe deep clones of PHP objects, recursively copying referenced objects while preserving the original object graph. It handles cyclic references to avoid infinite loops, and supports customization via matchers and filters for specific properties and types. | 8,887 | 8,913 | 109 | 16M | 15 | 61.2 | 58.2 | MIT | 1 month ago | |
| caseboxdev/rest-bundle | 0.79 | — | 1 | 1 | 2 | 1 | 0 | 0.0 | 1.7 | — | — | |
| sylius-labs/polyfill-symfony-framework-bundle | 0.79 | 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 | — | 3 years ago | |
| php-standard-library/interoperability | 0.79 | Lightweight PHP interoperability helpers in the php-standard-library ecosystem. Provides small, standards-oriented utilities to bridge common interfaces and behaviors between components, improving compatibility and reuse without pulling in heavy dependencies. | 1 | 1 | 0 | 40K | 0 | 17.2 | 62.9 | MIT | 3 months ago | |
| lastdragon-ru/lara-asp-serializer | 0.79 | — | 0 | 0 | 0 | 4K | 0 | 0.0 | 50.0 | MIT | — | |
| spatie/php-cloneable | 0.78 | Trait for PHP 8.1+ that makes objects with readonly properties cloneable. Safely “clone with changes” by copying an object while overriding readonly fields—handy until PHP gets native clone-with support. | 97 | 98 | 7 | 102K | 0 | 1.6 | 41.7 | MIT | 2 years ago |
How can I help you explore Laravel packages today?