rector/swiss-knife
Swiss Knife for upgrades: CLI tools to keep codebases clean and PSR-4 compliant. Detect git merge conflicts and commented-out code, find multiple classes per file, fix namespaces to match PSR-4 roots, and finalize classes without children (with skips for mocks/files).
Architecture fit: The package provides CLI tools for code quality checks and refactoring that are largely framework-agnostic, making it suitable for Laravel projects. Core features like merge conflict detection, commented code checks, PSR-4 validation, and search-regex work seamlessly with Laravel's structure. However, Symfony-specific features (e.g., generate-symfony-config-builders, split-config-per-package) are irrelevant for Laravel and must be excluded. The `
How can I help you explore Laravel packages today?