# nunomaduro/phpinsights

🔰 Instant PHP quality checks from your console

Repository: https://github.com/nunomaduro/phpinsights
Canonical: https://ross.abutalabs.com/products/phpinsights
Homepage: https://youtube.com/@nunomaduro?sub_confirmation=1
Language: PHP
License: MIT
License Family: permissive
Topics: php, static, analytics, code, quality, style, cs, architecture, complexity, console, cli, tool, hacktoberfest
Last push: 2026-08-04T15:14:22+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 67, longevity 100
- inputs: {"age_days": 2712, "days_push": 29, "days_rel": 143, "gap_med": 48, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5631, forks 299 (observed 2026-08-28T04:09:26.308295+00:00)

## What it is
PHP Insights is a console tool that performs instant static analysis of PHP code quality, coding style, architecture, and complexity. It works out of the box with frameworks like Laravel, Symfony, Yii, and Magento, and integrates as an Artisan command in Laravel.

## Use cases
- check php code quality from the terminal
- analyze code style and complexity of a php project
- run static analysis on a laravel codebase
- audit architecture and coupling in php applications
- get a quality report before a code review
- enforce clean code standards in php

## When to choose
- you want an all-in-one quality, style, architecture, and complexity report for PHP
- you use Laravel, Symfony, Yii, or Magento and want zero-config analysis
- you prefer a single CLI tool over combining PHPStan, PHP-CS-Fixer, and PHPMD

## When to avoid
- you need deep type-level static analysis with strict type inference (use PHPStan or Psalm)
- you only need automated code style fixing rather than quality metrics
- your project is not written in PHP

## Facets
- artifact type: cli-tool
- maturity: active
- function: linter, code-review, developer-tools, cli
- domain: developer-tools, testing
- platform: php, cli, cross-platform
- tags: static-analysis, code-quality, code-style, php, laravel, symfony, complexity-analysis, architecture-checks, command-line

## Member repositories
- nunomaduro/phpinsights (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:26.308295+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:55:20.483034+00:00, confidence not recorded.
  - readme: https://github.com/nunomaduro/phpinsights (fetched 2026-08-28T04:09:26.308295+00:00, sha b7739c1ce66f)
  - homepage: https://youtube.com/@nunomaduro?sub_confirmation=1 (fetched 2026-08-29T08:49:51.128280+00:00, sha 0089f7b76f67)
- Data as of 2026-08-30T08:39:29.467469+00:00.
