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

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 1mo 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

32

—

LowBetter than 71% of packages

Maintenance49

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

400d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/841a5eca768df321576fce493c9a8443d530bdd60d15f8bf603d689054e30f86?d=identicon)[Aluisio-Pires](/maintainers/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

[magento/magento-coding-standard

A set of Magento specific PHP CodeSniffer rules.

37113.4M299](/packages/magento-magento-coding-standard)[tomasvotruba/bladestan

PHPStan rule for static analysis of Blade templates

363584.5k4](/packages/tomasvotruba-bladestan)[canvural/larastan-strict-rules

Extra strict and opinionated PHPStan rules for Laravel.

891.0M3](/packages/canvural-larastan-strict-rules)[botble/git-commit-checker

Check coding standard &amp; code syntax with Git pre-commit hook.

47186.4k1](/packages/botble-git-commit-checker)[mrpunyapal/rector-pest

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

4717.6k17](/packages/mrpunyapal-rector-pest)[savinmikhail/add_named_arguments_rector

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

1969.5k3](/packages/savinmikhail-add-named-arguments-rector)

PHPackages © 2026

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