avangward / rejuvenate
PHP Code Migration Framework
Requires
- php: >=8.4
- symfony/config: ^7.0
- symfony/dependency-injection: ^7.0
- symfony/filesystem: ^7.0
- symfony/finder: ^7.0
Requires (Dev)
- mikey179/vfsstream: ^1.6
- phpunit/phpunit: ^12
README
Rejuvenate is a PHP framework designed for refactoring and migrating various types of code, including Twig and Blade templates, PHP code, as well as Java, C++, C#, and JavaScript.
Purpose
This framework addresses a common challenge: there are many constantly updated forks and platforms such as Shopware, Magento, Shopify, and others. Occasionally, there arises a need to migrate custom templates from one version to another. Since a new version may remove or add features in the code, it becomes necessary to refactor your templates and troubleshoot why certain components are not displaying correctly in the new version.
Rejuvenate was created specifically to simplify this process — facilitating the migration of templates and code between versions. With this framework, you can create a container and define rules for it, allowing you to apply these rules to specific files.
Status
The framework is still under development. It can be used, but rule versioning is not yet implemented.