#rectorphp
Laravel/PHP devs after my talk on RectorPHP 😁
February 16, 2025 at 3:32 PM
It will be a big release, but not that big (+61K, 557 files). 😅

+61K - I added a few JS files that were previously sourced from a CDN to be hosted locally.

557 files changed - Ran RectorPHP on the codebase, which altered almost all files.
January 7, 2025 at 1:59 PM
Rector instantly upgrades and refactors the PHP code of your application. It now supports upgrades from PHP 5.3 to 8.4 and major open-source projects like Symfony, PHPUnit, and Doctrine github.com/rectorphp/re...
GitHub - rectorphp/rector: Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
Instant Upgrades and Automated Refactoring of any PHP 5.3+ code - rectorphp/rector
github.com
January 7, 2025 at 10:20 PM
During my talk on RectorPHP today at Laravel Moris.

I said "RectorPHP is an elevator of refactoring PHP code" and it makes a lot of sense. 🤌

Watch: www.youtube.com/live/N73Smm8...
August 23, 2025 at 3:10 PM
I'll be streaming my Talk tomorrow at Laravel Moris. 🤞
"Refactor Laravel with RectorPHP" 💪

Watch: youtube.com/live/N73Smm8...
youtube.com
August 22, 2025 at 4:37 PM
Use phpstan or pint/rectorphp to maintain code discipline.
December 26, 2025 at 1:30 AM
📢 Major update in #PHP ecosystem: #Rector v2.0 was released 🥳🎉! For projects using both Rector and #PHPStan it also unlocks usage of PHPStan v2.0 which was released some time ago. All hands on board, upgrading time 😁!

github.com/rectorphp/re...
Release Released Rector 2.0 · rectorphp/rector
Rector 2.0 is here 🥳 The main purpose of this release is performance improvements, thanks to modern dependencies: php-parser 4.x to 5.0 PHPStan 1.x to 2.0 and min PHP version 7.2 to 7.4 because of...
github.com
December 12, 2024 at 12:28 PM
PHP devs who love @pestphp.bsky.social and RectorPHP, I’m cooking something for you 👀
December 12, 2025 at 5:32 PM
It should be standard to add these composer scripts when using Pint, @rectorphp, @phpstan, and @pestphp. 🤞
May 22, 2025 at 10:31 AM
A few days ago, we chatted about how PHP's new pipe `|>` operator will help make PHP code more fluent...

And today I just discovered that @rectorphp has a rule for the same thing we talked about 💪
November 17, 2025 at 12:48 PM
Rector is an automated refactoring tool you can use to automatically run small refactors on your code using "Rules" and rulesets.

github.com/rectorphp/re...
GitHub - rectorphp/rector: Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
Instant Upgrades and Automated Refactoring of any PHP 5.3+ code - rectorphp/rector
github.com
June 16, 2025 at 2:45 PM
You have to replace all the PHPUnit annotations by the corresponding PHP Attributes. But Rector will ease this process: github.com/rectorphp/re...
March 19, 2025 at 12:58 PM
If you're not using RectorPHP, you're missing out on a lot of benefits. But if you want to get started with @RectorPHP, join me at Laravel Live Bengaluru tomorrow at 3PM IST! (Online/offline)

🔗 [Link 👇]
February 14, 2025 at 4:42 AM
Just published the episode 12 of Laravel In Practice 🎉 This time we use RectorPHP and modernize our app.
Video's here: youtube.com/watch?v=ldpN...
Let me know what you think!
November 18, 2025 at 2:50 PM
Excited to announce 🎉

I'll be speaking on "Refactor Laravel with RectorPHP" at the Laravel Moris Meetup! 😊
August 22, 2025 at 2:47 PM
PHP devs, as per PER Coding Style, we should use PascalCase for enum cases, and if you're still using SNAKE_CASE for some reason, RectorPHP has a rule to refactor enum cases. 💪

Link in comments 👇
November 11, 2025 at 6:41 PM
This Larave Rector rule is awesome 💪

Use RectorPHP to first concert date() to Carbon and than use RectorLaravel to convert Carbon into Date class 😅

If you are fan of using immutable carbon object Date is better than Carbon 🫡
October 29, 2025 at 9:00 PM
Yay, Rector Pest got 50 ✨

Rector Pest is set of RectorPHP rules for Pest testing framework 🙌

github.com/MrPunyapal/r...
April 9, 2026 at 7:01 AM
Btw you can use RectorPHP to make sure you always use early returns!
github.com/rectorphp/re...
GitHub - rectorphp/rector: Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
Instant Upgrades and Automated Refactoring of any PHP 5.3+ code - rectorphp/rector
github.com
June 16, 2025 at 6:38 AM
📦 rectorphp / rector
⭐ 8,970 (+29)
🗒 PHP

Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
GitHub - rectorphp/rector: Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
Instant Upgrades and Automated Refactoring of any PHP 5.3+ code - rectorphp/rector
github.com
January 7, 2025 at 4:01 PM
Laravel devs! 👋

A few days ago, I shared why you should use the dispatch() helper instead of ::dispatch().

Now, with Laravel Rector, you can automate this refactor!

Just add DispatchToHelperFunctionsRector to your RectorPHP config, and your code will stay clean & consistent! 🔥
February 18, 2025 at 9:40 AM
Laravel Basic CRUD received UI improvements today. 🙌

It's not so basic though. 😁

It is using Tailwind v4 and plain Blade. It features PHPStan level 10, Pint, RectorPHP with custom config, 100% type coverage, 100% test coverage, and Arch tests with PestPHP. 🫡
June 16, 2025 at 2:59 PM
📦 rector/swiss-knife 2.5.0

Swiss knife in pocket of every upgrade architect

🔗 https://github.com/rectorphp/swiss-knife
September 17, 2026 at 9:19 PM
📦 rector/behastan 0.8.3

Static analysis for Behat definitions and context files

🔗 https://github.com/rectorphp/behastan
June 5, 2026 at 8:32 PM