Rector's mission is to upgrade anything you want. It already can upgrade PHP 5.2 all the way to PHP 7.4 (I've added arrow functions yesterday to php-parser and today to Rector), Symfony from 2.8 to 4.3, remove code that does nothing, import namespaces in a smart way and 29 more levels.
I've started project 2 years ago as a small idea challenge and I'm creating Rector in my free time. I think every Rector rule ever created should be free for everyone and for a that I need your help.
Rector can squash time that requires migration of 100 000 lines of code from 2-3 months to 5 days. We already made that happen with Nette to Symfony migration.
I want to make Rector even better - make migration of legacy code more affordable to anyone, let you instantly upgrade from an old framework that is not supported over 5 years to the newest version or even switch from framework that is no more useful to you to a one you want to use for age.
In the end, Rector should be the next member of your team that you will throw all the boring work at.
To be able to do that, I have to focus my time to work on private commercial projects and fund the Rector development from them.
When I look at Reddit, I see many questions regarding legacy PHP code with PHP 5.3,
mysql, PHP templates, Zend 1, Symfony 1 (well anything 1), own proprietary framework, that no-one wants to work with and when they complain to the boss, they get rejected: "I can't afford it". It hurts me to see stories like this.
"Every line code becomes legacy in the second it's written."
But even if you run on PHP 7.3 and Symfony 4.2, Cake 3.7 or Laravel 5.8, in 2 years we'll call it "legacy code".
Rector can make remove "legacy code" from our dictionaries. For that, I need your help!
Do you find Rector useful?
There is a special reward for Generous Backers. Once a month, you can send me PHP code with 1 pattern that annoys you and you want to refactor it. I'll create a 1 Rector rule, that will get rid of it 👍
Aren't you sure about long-term contribution of Rector for you but still want to say "thank you"? Use ↓
Thank you! ❤️️
You don't have spare 5 $? Show your Love and give Rector a ⭐ on Github!