Rector (@rectorphp) header
Rector (@rectorphp) profile picture

Instant Upgrades and Instant Refactorings for PHP Applications. Why do it manually? #rectorphp Created by @votrubaT

PHP Community
Joined December 2018
Photo by Rector (@rectorphp)Photo by Rector (@rectorphp)Photo by Rector (@rectorphp)Photo by Rector (@rectorphp)Photo by Rector (@rectorphp)Photo by Rector (@rectorphp)Photo by Rector (@rectorphp)Photo by Rector (@rectorphp)Photo by Rector (@rectorphp)Photo by Rector (@rectorphp)
Porting tool to another language has a unexpected benefit. The agents will not actually port 1:1, but they'll make it much better shapes. Thanks to that, the Go-port version of @rectorphp is covering more edge cases and fixes some bugs the origin had. Seeing that, I'm now adding many fixes back to Rector :) Help others and you'll help yourself has something to it
2
9
752
Easy Coding Standard is now 42x faster out of the box ⚡ Blink (Go port) is on by default since ECS 13.3.19: all 299 php-cs-fixer rules, no cache, zero config. Symfony repo: 2+ min → ~4 s Custom PHP rules? Falls back to PHP automatically tomasvotruba.com/blog/easy-c…
1
6
30
1,354
In Ep. 1 of the Playful Programming Podcast, @MrPunyapal breaks down the modern @laravel stack: • Project-aware AI workflows with Laravel Boost • Testing AI agents & architecture with @pestphp • Static analysis with PHPStan & Rector • Laravel Herd & Cloud
3
7
1
29
2,389
Rector 2.8 is out with blazing speed 🚀 ⚡ 60s → 20s on PHP 8.3+ since 2.7 ⚡ 84s → 14s on Laravel (~6x) in past year What else is new in this release? * 283 PRs in 20 days * Every rule finishes in one pass * withComposerBased() detects your sets for you * Fewer, clearer rules... Learn more in a post ⬇️ getrector.com/blog/rector-2-…
10
61
2,642
Rector retweeted
The rumors are true.... Today we've released @rector 2.8, that is 30 % faster than 2.7 out of the box. And even 3x faster on PHP 8.3+ thanks to PHPStan Turbo. Huge thanks to @sander_scode who landed this feature in past 2 weeks 🎉🎉🎉
PHPStan Turbo now also makes Rector faster! Rector 2.8 ships with Turbo enabled, taking 50% less time to finish.
3
19
2
88
4,823
php-cs-fixer/sniffer on the Symfony repo: 2+ minutes. Same job in Easy CS --blink (Go port): ~4 secs No cache. 100% of files. I wrote a 5-part series on why Rust & Go tooling is about to change how we work in PHP, even if you never write a line of either 👇 tomasvotruba.com/series/rust…
6
6
1
59
4,606
Highly entertaining infographic with 202 responders about project upgrades. Great job! accesto.com/reports/php-upgr… If you're on PHP 7 or 5, with 0 automated tests, huge PHPStan baseline or no PHPStan at all, lack of coding standard, less than 10 PRs merged a day, cannot afford to block your senior devs, and prefer business features over upgrade, let me know. We'll do the dirty upgrade work for you in couple months and turn your project into best shape possible: getrector.com/hire-team
5
16
1,133
ECS on the Symfony repository: PHP: 2+ minutes Go: ~4 seconds Same ecs.php, same rules, same diffs. Just faster. How I ported all 230 fixers to Go with AI agents, part-time in the afternoons 👇 PART #5 tomasvotruba.com/blog/portin…
4
4
53
3,758
If you're not on @rectorphp 2.8 yet, give it a go tomorrow
The rumors are true.... Today we've released @rector 2.8, that is 30 % faster than 2.7 out of the box. And even 3x faster on PHP 8.3+ thanks to PHPStan Turbo. Huge thanks to @sander_scode who landed this feature in past 2 weeks 🎉🎉🎉
2
5
609
Rector retweeted
Do you use Symfony, Laravel, Drupal, Doctrine or PHPUnit and want to upgrade them automatically? You can forget the set crowds in rector.php and use single method in Rector config instead ⬇️ getrector.com/blog/your-comp…
3
7
1
17
1,468
Rector retweeted
I've just released Larastan-Livewire v2.6.0 with that new feature and some fixes! I also noticed that we recently crossed >1M downloads 🤯 github.com/calebdw/larastan-…
Hey @calebdw Thanks for the Great work on your Livewire Larastan Package. Helped me out a lot. Maybe it is possible to make a Release with the changes for anonymous components that was merged 3 months ago? Thanks again for your work!
3
3
6
615
Replying to @rectorphp
Best program
1
1
1
174
I'm still amazed what goal-oriented devs can achieve with agentic subscription. This was impossible to see in 2025. @rectorphp running 3x faster on a @laravel codebase, versions 20 days apart
1
2
1
31
2,881
Ran Rector. Went to the toilet. Came back. Still running.🚽 4 agents × (PHPStan + Rector + ECS) = 12 processes, each wanting 24 cores PHP tooling in <1 s isn’t a dream. Part 3 👇 tomasvotruba.com/blog/unicor…
2
4
34
3,443
Welcome to patient zero Covid-moment of PHP Hope everyone will be safe by the end of this week 🙏
Couldn't say better than this. The number of wrong info posted all over socials about this topic is pretty unbelievable.
1
1
21
2,057
Not bad improvement for the most used rule in @rectorphp 😍
2
15
996