Enum | polyfill | |
---|---|---|
1 | 3 | |
326 | 2,578 | |
- | 0.8% | |
3.4 | 7.2 | |
8 months ago | 7 days ago | |
PHP | PHP | |
BSD 2-clause "Simplified" License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Enum
Posts with mentions or reviews of Enum.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-30.
-
Can We Develop in PHP 8.1 and Still Output PHP 7.4 Code?
Someone has created an enum implementation voor PHP 7.1 here: https://github.com/DASPRiD/Enum but it is different and not a polyfill for the PHP 8.1 enum.
polyfill
Posts with mentions or reviews of polyfill.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-30.
-
How Symfony components power Drupal’s drive to new frontiers
“The Polyfill Iconv component provides a native PHP implementation of the php.net/iconv functions (short of [ob_iconv_handler](https://php.net/ob-iconv-handler)). More information can be found in the main Polyfill README.”
- Can We Develop in PHP 8.1 and Still Output PHP 7.4 Code?
-
Today marks the first time my product does not support PHP versions that reached EOL
FYI array_key_first and such were easily polyfilled in older versions https://github.com/symfony/polyfill but it doesn't matter now! 😅
What are some alternatives?
When comparing Enum and polyfill you can also consider the following projects:
phabel - PHP transpiler - Write and deploy modern PHP 8 code, today.
polyfill-ctype - Symfony polyfill for ctype functions
Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
polyfill-mbstring - Symfony polyfill for the Mbstring extension
rector-downgrade-php - Rector downgrade rules for PHP
square-one - Modern Tribe's legacy WordPress framework for the classic editor.
setup-php - GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.
rector-prefixed - [READ-ONLY] Prefixed version of Rector
php-src - Security backports for EOL versions of PHP.