You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maintain Backward Compatibility for 1.x|2.0.x Tags: The 1.x & 2.0.x branch should be maintained for users who are still on older PHP versions (e.g., PHP 5.x|7.0). This branch would only receive critical bug fixes, ensuring that existing projects do not break unexpectedly after running composer update.
This approach would provide several benefits:
Developers using older PHP versions can continue to use the 1.x, 2.0.x tags without disruption.
Projects ready to upgrade to PHP 8.x can explicitly opt-in by requiring ^2.1 in their composer.json.
I see that Pull Request #28 introduces support for PHP 8.x and drop older version compatibility, which is a great step forward for the project.
To manage this transition smoothly and maintain backward compatibility for existing users, I would like to propose the following versioning strategy:
This approach would provide several benefits: