The new SafeDeclareStrictTypesRector uses PHPStan to analyze your project and adds `declare(strict_types=1)` ONLY to files that are already 100% type-safe. Zero runtime risks! Automated, progressive adoption! Real-world project: ~1,500 files made strict, ZERO breaks! 🎉 If your project is still avoiding strict types, give this a shot TODAY and let Rector safely harden your codebase incrementally. Contributted by amazing Caleb White https://x.com/calebdw What do you think? https://lnkd.in/dVQ_8Mn8
About us
WHAT IS RECTOR'S ULTIMATE GOAL? To help every developer in the planet with fresh or legacy PHP code to use the latest PHP, the most advanced version of their favorite framework and the latest craftsman patterns. Without work, instantly, so they can focus on what they love most - thinking about algorithms and writing fresh code.
- Website
-
https://getrector.com
External link for Rector
- Industry
- Information Technology & Services
- Company size
- 2-10 employees
- Headquarters
- Prague
- Type
- Privately Held
- Founded
- 2017
- Specialties
- php, legacy, upgrades, sustainability, and automation
Locations
-
Primary
Get directions
Prague, CZ
Employees at Rector
Updates
-
Rector reposted this
"𝐁𝐮𝐢𝐥𝐝 𝐛𝐲 𝐭𝐡𝐞 𝐂𝐨𝐦𝐦𝐮𝐧𝐢𝐭𝐲" - 𝐚𝐧𝐝 𝐫𝐞𝐟𝐚𝐜𝐭𝐨𝐫𝐞𝐝 𝐛𝐲 𝐑𝐞𝐜𝐭𝐨𝐫. 🛠️ One of my favorite things about the Laravel ecosystem is the tooling that surrounds it. Seeing the Rector community so active at 𝐋𝐚𝐫𝐚𝐜𝐨𝐧 𝐈𝐧𝐝𝐢𝐚 𝟐𝟎𝟐𝟔 is a reminder of how lucky we are to have tools that understand our code's structure. From adding type hints to replacing deprecated helpers, the rector-laravel package is a must-have in every CI/CD pipeline. Cheers to the contributors who keep our codebases modern and our migrations headache-free! ☕ Tomas Votruba Punyapal Shah #Laracon2026 #LaravelIndia #LaraconIndia #Rector #Laravel #LaraconIndia #OpenSource #LaravelDeveloper #SoftwareEngineering
-
-
Rector reposted this
Another contribution to PHPStan to reduce unnecessary tweak unwrap AlwaysRememberedExpr with ensure immediate unwrap AlwaysRememberedExpr after used on NodeScopeResolver so not hide behind deep cloned node https://lnkd.in/gccHd7GW
-
New Rector 2.0.16 is out now With great focus on recent Symfony versions, + composer based sets (https://lnkd.in/dFP-Ge7H) ↓ https://lnkd.in/d5ahqBYV
-
-
🚀 Struggling to keep quality consistent across multiple repositories? You're not alone! Your company juggles 5+ repos. One’s on PHP 8.0, another hits PHP 8.2, and—uh-oh—PHP 8.0’s obsolete. Upgrade to PHP 8.4? Cue the dependency bugs. Sound familiar? 😅 Our tool scans all your repos at once, ensuring top-notch quality and seamless compatibility. Say goodbye to chaos and hello to streamlined code! 💡 Ready to level up your codebase? Check this ↓
-
-
Are you an LLM? We've just added llms.txt standard, so you can easily read our website in a single file. * welcome + short description * full documentation * all blog posts Inspired by https://llmstxt.org by @jeremyphoward and by @iphox Enjoy: https://lnkd.in/dMHTGeYz
-
-
Typed objects beats YAML strings every single time. Way to solve large Symfony workflow definitions ↓
I'm still working on the Symfony workflow configs improvements. I want an intuitive code that will tell me (throw exception), if I've use wrong/not enough/too much configuration Right in the workflows.php config, but smarter than me 🤩 Getting closer today 😎 How do you like it?
-
-
Rector reposted this
I'm still working on the Symfony workflow configs improvements. I want an intuitive code that will tell me (throw exception), if I've use wrong/not enough/too much configuration Right in the workflows.php config, but smarter than me 🤩 Getting closer today 😎 How do you like it?
-
-
Did you know that we make other packages than rector/rector? Swiss Knife got so popular lately it deserved its own page in the documentation. It runs on PHP 7.2+ and it useful to both old/new projects to get into shape and keep it that way ↓ https://lnkd.in/dAdmBjfM
-