Enum
PHP 7.1 enum implementation (by DASPRiD)
rector-downgrade-php
Rector downgrade rules for PHP (by rectorphp)
Enum | rector-downgrade-php | |
---|---|---|
1 | 2 | |
326 | 34 | |
- | - | |
3.4 | 8.6 | |
8 months ago | 29 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.
rector-downgrade-php
Posts with mentions or reviews of rector-downgrade-php.
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?
-
Which native PHP features do you regret not knowing about/adapting earlier?
Rector is a game changer here. Not only it can upgrade your code to now features but even downgrade it in order to be used with older versions.
What are some alternatives?
When comparing Enum and rector-downgrade-php you can also consider the following projects:
polyfill - PHP polyfills
phabel - PHP transpiler - Write and deploy modern PHP 8 code, today.
Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code