PHPackages                             aluisio/laravel-code-analyzer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. aluisio/laravel-code-analyzer

ActiveLibrary[Testing &amp; Quality](/categories/testing)

aluisio/laravel-code-analyzer
=============================

Create new artisan commands to simplify your code quality workflow

v1.3.6(1y ago)5263nonePHP

Since Mar 17Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Aluisio-Pires/laravel-code-analyzer)[ Packagist](https://packagist.org/packages/aluisio/laravel-code-analyzer)[ RSS](/packages/aluisio-laravel-code-analyzer/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (3)Versions (16)Used By (0)

Laravel Code Analyzer
=====================

[](#laravel-code-analyzer)

Laravel Code Analyzer provides convenient Artisan commands to simplify your code quality workflow. It integrates common PHP static analysis tools into your Laravel project, making it easy to maintain clean, efficient, and high-quality code.

Installation
------------

[](#installation)

Install the package via Composer:

```
composer require aluisio/laravel-code-analyzer --dev
```

Laravel should automatically discover the service provider. If not, add the following service provider to your `config/app.php` file:

```
Aluisio\LaravelCodeAnalyzer\LaravelCodeAnalyzerServiceProvider::class,
```

Usage
-----

[](#usage)

The package provides the following Artisan commands:

### Run Pint

[](#run-pint)

```
php artisan pint
```

Pass additional arguments directly to Pint:

```
php artisan pint --test
```

### Run PHPStan

[](#run-phpstan)

```
php artisan phpstan analyse
```

Pass additional arguments directly to PHPStan:

```
php artisan phpstan analyse --memory-limit=2G
```

### Run Rector

[](#run-rector)

```
php artisan rector
```

Pass additional arguments directly to Rector:

```
php artisan rector --dry-run
```

### Run All Analysis Commands

[](#run-all-analysis-commands)

Run all analysis commands sequentially (Pint, Rector, PHPStan):

```
php artisan analyse
```

Requirements
------------

[](#requirements)

- Laravel
- Pint
- Rector
- PHPStan

Author
------

[](#author)

**Aluisio Pires**
Email:

---

© 2025 Aluisio Pires

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance43

Moderate activity, may be stable

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

15

Last Release

456d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/88967089?v=4)[Aluísio Pires](/maintainers/Aluisio-Pires)[@Aluisio-Pires](https://github.com/Aluisio-Pires)

---

Top Contributors

[![Aluisio-Pires](https://avatars.githubusercontent.com/u/88967089?v=4)](https://github.com/Aluisio-Pires "Aluisio-Pires (17 commits)")

### Embed Badge

![Health badge](/badges/aluisio-laravel-code-analyzer/health.svg)

```
[![Health](https://phpackages.com/badges/aluisio-laravel-code-analyzer/health.svg)](https://phpackages.com/packages/aluisio-laravel-code-analyzer)
```

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[mrpunyapal/rector-pest

Rector upgrade rules for Pest - refactoring and best practices for Pest testing framework

6977.7k62](/packages/mrpunyapal-rector-pest)[savinmikhail/add_named_arguments_rector

Rector rule to add names to arguments for functions'/methods' calls

19100.7k5](/packages/savinmikhail-add-named-arguments-rector)[filament/upgrade

Upgrade Filament v4 code to Filament v5.

101.9M188](/packages/filament-upgrade)[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React/Svelte) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

4925.3k](/packages/erag-laravel-lang-sync-inertia)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
