PHPackages                             nprupico/phpinsights - 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. [CLI &amp; Console](/categories/cli)
4. /
5. nprupico/phpinsights

ActiveLibrary[CLI &amp; Console](/categories/cli)

nprupico/phpinsights
====================

Instant PHP quality checks from your console.

v2.12.3(1y ago)05.2kMITPHPPHP ^7.4|^8.0|^8.2

Since May 30Pushed 1y agoCompare

[ Source](https://github.com/nprupico/phpinsights)[ Packagist](https://packagist.org/packages/nprupico/phpinsights)[ GitHub Sponsors](https://github.com/JustSteveKing)[ GitHub Sponsors](https://github.com/cmgmyr)[ RSS](/packages/nprupico-phpinsights/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (25)Versions (5)Used By (0)

 [![PHP Insights](/art/logo.gif)](/art/logo.gif) [![PHP Insights Preview](/art/preview.png)](/art/preview.png)

 [![Unit Tests](https://github.com/nprupico/phpinsights/actions/workflows/test.yaml/badge.svg)](https://github.com/nprupico/phpinsights/actions/workflows/test.yaml) [![Total Downloads](https://camo.githubusercontent.com/6896ad8061e2d664f7cbec47cae014823430aeb5f11a006db32e8fd2ce7d3487/68747470733a2f2f706f7365722e707567782e6f72672f6e7072757069636f2f706870696e7369676874732f642f746f74616c2e737667)](https://packagist.org/packages/nprupico/phpinsights) [![Latest Version](https://camo.githubusercontent.com/c14e447512059a44c83eeb6c3809c801068ecdc131b54d45ccaaa591dea84992/68747470733a2f2f706f7365722e707567782e6f72672f6e7072757069636f2f706870696e7369676874732f762f737461626c652e737667)](https://packagist.org/packages/nprupico/phpinsights) [![License](https://camo.githubusercontent.com/8f9b93ee34307bab90f936d8ef264993242c2dd8f6a4451807c7a08b1e2c81a4/68747470733a2f2f706f7365722e707567782e6f72672f6e7072757069636f2f706870696e7369676874732f6c6963656e73652e737667)](https://packagist.org/packages/nprupico/phpinsights)

 **For full documentation, visit [phpinsights.com](https://phpinsights.com)**.

**PHP Insights** was carefully crafted to simplify the analysis of your code directly from your terminal, and is the perfect starting point to analyze the code quality of your PHP projects. It was created by **[Nuno Maduro](https://github.com/nunomaduro)**, logo design **[Caneco](https://github.com/caneco)**, and currently is maintained by **[Chris Gmyr](https://github.com/cmgmyr)**, **[Jibé Barth](https://github.com/Jibbarth)**, and **[Steve McDougall](https://github.com/JustSteveKing)**.

🚀 Quick start
-------------

[](#-quick-start)

### First, install:

[](#first-install)

```
composer require nprupico/phpinsights --dev

```

### Then, use it:

[](#then-use-it)

```
./vendor/bin/phpinsights

```

### For Laravel:

[](#for-laravel)

First, publish the configuration file:

```
php artisan vendor:publish --provider="NunoMaduro\PhpInsights\Application\Adapters\Laravel\InsightsServiceProvider"

```

Then, use it:

```
php artisan insights

```

✨ Features
----------

[](#-features)

- Analysis of **code quality** and **coding style**
- Beautiful overview of code **architecture** and its **complexity**
- Designed to work out-of-the-box with **Laravel**, **Symfony**, **Yii**, **Magento**, and more
- Contains built-in checks for making code reliable, loosely coupled, **simple**, and **clean**

💖 Support the development
-------------------------

[](#-support-the-development)

**Do you like this project? Support it by donating**

Click the "💖 Sponsor" at the top of this repo.

PHP Insights is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.1% 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 ~0 days

Total

4

Last Release

715d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9c05a364e18151394af73ae4905653a0072e4980ce6583c3fb634d55ad494929?d=identicon)[TheBikramLama](/maintainers/TheBikramLama)

---

Top Contributors

[![nunomaduro](https://avatars.githubusercontent.com/u/5457236?v=4)](https://github.com/nunomaduro "nunomaduro (398 commits)")[![Jibbarth](https://avatars.githubusercontent.com/u/3168281?v=4)](https://github.com/Jibbarth "Jibbarth (113 commits)")[![olivernybroe](https://avatars.githubusercontent.com/u/5870441?v=4)](https://github.com/olivernybroe "olivernybroe (40 commits)")[![cmgmyr](https://avatars.githubusercontent.com/u/4693481?v=4)](https://github.com/cmgmyr "cmgmyr (20 commits)")[![50bhan](https://avatars.githubusercontent.com/u/36772278?v=4)](https://github.com/50bhan "50bhan (19 commits)")[![Gummibeer](https://avatars.githubusercontent.com/u/6187884?v=4)](https://github.com/Gummibeer "Gummibeer (13 commits)")[![oliverquynh](https://avatars.githubusercontent.com/u/16967350?v=4)](https://github.com/oliverquynh "oliverquynh (10 commits)")[![tvbeek](https://avatars.githubusercontent.com/u/2026498?v=4)](https://github.com/tvbeek "tvbeek (6 commits)")[![TheBikramLama](https://avatars.githubusercontent.com/u/47409497?v=4)](https://github.com/TheBikramLama "TheBikramLama (6 commits)")[![smokills](https://avatars.githubusercontent.com/u/7535708?v=4)](https://github.com/smokills "smokills (5 commits)")[![lancepioch](https://avatars.githubusercontent.com/u/1296882?v=4)](https://github.com/lancepioch "lancepioch (5 commits)")[![bastien-phi](https://avatars.githubusercontent.com/u/10199039?v=4)](https://github.com/bastien-phi "bastien-phi (4 commits)")[![krisnaw](https://avatars.githubusercontent.com/u/1654121?v=4)](https://github.com/krisnaw "krisnaw (4 commits)")[![JustSteveKing](https://avatars.githubusercontent.com/u/6368379?v=4)](https://github.com/JustSteveKing "JustSteveKing (4 commits)")[![killua99](https://avatars.githubusercontent.com/u/457822?v=4)](https://github.com/killua99 "killua99 (4 commits)")[![tarlepp](https://avatars.githubusercontent.com/u/595561?v=4)](https://github.com/tarlepp "tarlepp (4 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (4 commits)")[![Pluiesurlavitre](https://avatars.githubusercontent.com/u/11065186?v=4)](https://github.com/Pluiesurlavitre "Pluiesurlavitre (3 commits)")[![mikeerickson](https://avatars.githubusercontent.com/u/183153?v=4)](https://github.com/mikeerickson "mikeerickson (3 commits)")[![hdcore](https://avatars.githubusercontent.com/u/15183537?v=4)](https://github.com/hdcore "hdcore (2 commits)")

---

Tags

phpconsolecodequalityInsightssource

###  Code Quality

TestsPHPUnit

Static AnalysisRector

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nprupico-phpinsights/health.svg)

```
[![Health](https://phpackages.com/badges/nprupico-phpinsights/health.svg)](https://phpackages.com/packages/nprupico-phpinsights)
```

###  Alternatives

[nunomaduro/phpinsights

Instant PHP quality checks from your console.

5.6k10.8M426](/packages/nunomaduro-phpinsights)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[humbug/box

Fast, zero config application bundler with PHARs.

1.3k801.5k69](/packages/humbug-box)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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