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)5264nonePHP

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 1w ago

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

30

—

LowBetter than 61% of packages

Maintenance40

Moderate activity, may be stable

Popularity17

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

501d 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.3k37.6k21](/packages/tempest-framework)[tomasvotruba/bladestan

PHPStan rule for static analysis of Blade templates

375766.0k7](/packages/tomasvotruba-bladestan)[worksome/coding-style

Worksomes coding style

49826.1k69](/packages/worksome-coding-style)[filament/upgrade

Upgrade Filament v4 code to Filament v5.

102.1M235](/packages/filament-upgrade)[savinmikhail/add_named_arguments_rector

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

20115.6k5](/packages/savinmikhail-add-named-arguments-rector)

PHPackages © 2026

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