PHPackages                             marcosmarcolin/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. marcosmarcolin/phpinsights

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

marcosmarcolin/phpinsights
==========================

Instant PHP quality checks from your console.

1.0.1(2y ago)01.6kMITPHPPHP ^7.4 || ^8.0 || ^8.1

Since Sep 25Pushed 2y agoCompare

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

READMEChangelog (2)Dependencies (25)Versions (3)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/nunomaduro/phpinsights/actions/workflows/test.yaml/badge.svg)](https://github.com/nunomaduro/phpinsights/actions/workflows/test.yaml) [![Total Downloads](https://camo.githubusercontent.com/c4968e24d5ace215fa34a0b29c847482b04c7128b46774fe83437fadb4e14472/68747470733a2f2f706f7365722e707567782e6f72672f6e756e6f6d616475726f2f706870696e7369676874732f642f746f74616c2e737667)](https://packagist.org/packages/nunomaduro/phpinsights) [![Latest Version](https://camo.githubusercontent.com/9e07b6397354ef1c71b2512115405388ba0ef1b7c7f12919ef80f3d66b59ff88/68747470733a2f2f706f7365722e707567782e6f72672f6e756e6f6d616475726f2f706870696e7369676874732f762f737461626c652e737667)](https://packagist.org/packages/nunomaduro/phpinsights) [![License](https://camo.githubusercontent.com/67ee96811b0796ca414106d712388bd2a77ebbe921c36557e98e9e67fdf3e729/68747470733a2f2f706f7365722e707567782e6f72672f6e756e6f6d616475726f2f706870696e7369676874732f6c6963656e73652e737667)](https://packagist.org/packages/nunomaduro/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 nunomaduro/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

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.9% 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

2

Last Release

1013d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/48370677?v=4)[Marcos Marcolin](/maintainers/marcosmarcolin)[@marcosmarcolin](https://github.com/marcosmarcolin)

---

Top Contributors

[![nunomaduro](https://avatars.githubusercontent.com/u/5457236?v=4)](https://github.com/nunomaduro "nunomaduro (397 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)")[![50bhan](https://avatars.githubusercontent.com/u/36772278?v=4)](https://github.com/50bhan "50bhan (19 commits)")[![cmgmyr](https://avatars.githubusercontent.com/u/4693481?v=4)](https://github.com/cmgmyr "cmgmyr (17 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)")[![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)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (4 commits)")[![krisnaw](https://avatars.githubusercontent.com/u/1654121?v=4)](https://github.com/krisnaw "krisnaw (4 commits)")[![tarlepp](https://avatars.githubusercontent.com/u/595561?v=4)](https://github.com/tarlepp "tarlepp (4 commits)")[![killua99](https://avatars.githubusercontent.com/u/457822?v=4)](https://github.com/killua99 "killua99 (4 commits)")[![JustSteveKing](https://avatars.githubusercontent.com/u/6368379?v=4)](https://github.com/JustSteveKing "JustSteveKing (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)")[![jochensengier](https://avatars.githubusercontent.com/u/10118729?v=4)](https://github.com/jochensengier "jochensengier (2 commits)")[![jonassiewertsen](https://avatars.githubusercontent.com/u/38906163?v=4)](https://github.com/jonassiewertsen "jonassiewertsen (2 commits)")

---

Tags

phpconsolecodequalityInsightssource

###  Code Quality

TestsPHPUnit

Static AnalysisRector

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[nunomaduro/phpinsights

Instant PHP quality checks from your console.

5.6k11.7M500](/packages/nunomaduro-phpinsights)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[oro/platform

Business Application Platform (BAP)

645143.5k115](/packages/oro-platform)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[whatsdiff/whatsdiff

See what's changed in your project's dependencies

771.2k](/packages/whatsdiff-whatsdiff)

PHPackages © 2026

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