Return to profile for Tomas Votruba

Automated Refactoring and Upgrades with Rector

30 minute beginner seminar

Description/Proposal

Rector is a CLI tool that handles automated refactoring and instant upgrades of PHP and Laravel. You've heard about it, but never used it before? You're in the right place.

We'll look at practical examples on:

  • how to add Rector to your Laravel project,
  • how to handle PHP and Laravel upgrades automatically, e.g. from PHP 7.4 to PHP 8.2 and Laravel 9 to 10,
  • what are Rector sets,
  • how to increase type coverage,
  • and improve your code quality.

As a bonus, we'll make it part of CI and let it commit the boring work for you!