Rector
← Tilbage til værktøjer

Rector

Automatisk refactoring og instant upgrades af PHP kode

Version: 1.x

Foto: Patrick Martin / Unsplash

Features

  • +Auto-upgrade PHP versions
  • +Framework migrations
  • +Code modernization
  • +Type declarations
  • +Dead code removal
  • +Custom refactoring rules

Installation

composer require --dev rector/rector

Use Cases

  • Upgrade PHP 7.4 → 8.x
  • Laravel version upgrades
  • Add type declarations
  • Modernize legacy code

Quick Info

Kategori
Refactoring
Version
1.x
Sværhedsgrad
Mellem