codebuddyphp/codebuddy

All-in-one code quality tool for your codebase

v0.1.0 2025-03-13 22:11 UTC

This package is auto-updated.

Last update: 2025-04-15 10:58:29 UTC


README

All-in-one code quality tool for your codebase

Supercharge your codebase with a single package that brings together the best code quality tools - Rector, Pint, PHPStan, PestPHP, and more. Write cleaner, more maintainable code with minimal setup.

Note: This package is currently compatible only with the Laravel framework 11 & 12.

Installation

Install the package as dev dependency:

composer require --dev codebuddyphp/codebuddy

Publish the assets:

php artisan vendor:publish --provider="Codebuddyphp\Codebuddy\CodebuddyServiceProvider" --tag="codebuddy-config" --force

Usage

Configure essential tools (like Rector, Pint, Phpstan, Pest, etc):

php artisan cb:configure

Find or fix codebase issues:

php artisan cb:review [--fix]

Get quick codebase insights:

php artisan cb:insights