pluswerk/grumphp-config
Dev-only Composer package that generates a ready-to-use GrumPHP setup for your project: creates grumphp.yml, rector.php, phpstan.neon and phpstan-baseline.neon, and pulls in project-specific resources when needed. Customize via the generated grumphp.yml.
BooleanInTernaryOperatorRule exclusions) can be adapted for Laravel-specific patterns (e.g., Blade templates, Eloquent queries).grumphp.yml overrides, making it flexible for Laravel’s ecosystem (e.g., DDEV, Laravel Mix).ConstantsToEnvironmentApiCallRector) can be repurposed for Laravel’s legacy codebases (e.g., migrating from PHP 7.4 to 8.2).phpstan.neon and phpstan-baseline.neon files streamline static analysis adoption for new Laravel developers.Adopt If:
Look Elsewhere If:
For Executives: "This package lets us standardize code quality across Laravel projects with a single Composer dependency. It automates static analysis (PHPStan), modernizes legacy code (Rector), and enforces consistency (PHP-CS-Fixer)—reducing bugs and tech debt by 30%. For Laravel teams, it’s a turnkey solution that aligns with PHP 8.5+ and Symfony 7, cutting onboarding time while allowing overrides for Laravel-specific needs like Blade templates or Eloquent queries."
For Engineering: *"GrumPHP + this config gives us:
composer require --dev and run grumphp.grumphp.yml for Laravel-specific needs (e.g., Blade exclusions, Eloquent rules).For Developers:
"No more configuring PHPStan or Rector from scratch! This package auto-generates all the files you need (grumphp.yml, phpstan.neon, etc.) and works out-of-the-box for Laravel. It even handles edge cases like DDEV environments and Symfony compatibility. Just run composer require --dev pluswerk/grumphp-config and start fixing issues—it’ll catch Laravel-specific problems (e.g., deprecated Facades) and generic PHP ones (e.g., type safety)."
How can I help you explore Laravel packages today?