PHPackages                             nunomaduro/patrol - 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. nunomaduro/patrol

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

nunomaduro/patrol
=================

An elegant command-line tool that keeps your PHP Project's dependencies in check

v1.2.0(2y ago)276132.0k—1.1%22[1 issues](https://github.com/nunomaduro/patrol/issues)[2 PRs](https://github.com/nunomaduro/patrol/pulls)3MITPHPPHP ^8.2CI passing

Since Jun 15Pushed 3w ago2 watchersCompare

[ Source](https://github.com/nunomaduro/patrol)[ Packagist](https://packagist.org/packages/nunomaduro/patrol)[ Fund](https://www.paypal.com/paypalme/enunomaduro)[ GitHub Sponsors](https://github.com/nunomaduro)[ RSS](/packages/nunomaduro-patrol/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (9)Versions (9)Used By (3)

 [![Patrol logo](/art/logo.svg)](/art/logo.svg)

 [![Patrol](https://raw.githubusercontent.com/nunomaduro/patrol/master/docs/example.png)](https://raw.githubusercontent.com/nunomaduro/patrol/master/docs/example.png)

 [![Total Downloads](https://camo.githubusercontent.com/26dcf968240b1e10ef837f5025980ee39fa0a1088b7fa64e1b1702f899169efd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e756e6f6d616475726f2f706174726f6c)](https://packagist.org/packages/nunomaduro/patrol) [![License](https://camo.githubusercontent.com/1be8d7b65e659afc393361abfcc7ffa18c3d41e1f2b152766f5ac60d0da98e9a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6e756e6f6d616475726f2f706174726f6c)](https://packagist.org/packages/nunomaduro/patrol) [![YouTube Channel Subscribers](https://camo.githubusercontent.com/a32a48cc6ec1283f38f5beedd4f3aec3eff914f663007ce9295ab1b60e5507e2/68747470733a2f2f696d672e736869656c64732e696f2f796f75747562652f6368616e6e656c2f73756273637269626572732f55434f5f68595a463267625f4379473573413741726c47673f7374796c653d666c6174266c6162656c3d796f757475626526636f6c6f723d627269676874677265656e)](https://youtube.com/@nunomaduro?sub_confirmation=1)

---

**Patrol** is an elegant command-line tool that keeps your PHP Project's dependencies in check.

Installation / Usage
--------------------

[](#installation--usage)

> **Requires [PHP 8.2+](https://php.net/releases/)**

First, install Patrol via the [Composer](https://getcomposer.org/) package manager:

```
composer require nunomaduro/patrol --dev
```

Then, use the `patrol` binary:

```
./vendor/bin/patrol
```

You may also specify the directory that should be inspected:

```
./vendor/bin/patrol inspect ../another/project-directory
```

License
-------

[](#license)

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

###  Health Score

56

—

FairBetter than 97% of packages

Maintenance62

Regular maintenance activity

Popularity51

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 80.5% 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 ~212 days

Total

5

Last Release

996d ago

PHP version history (2 changes)v1.0.0PHP ^8.0

v1.2.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/86cfef5c1f5195df1a9db17a5f8ecb34455e1f0133a725de9acf7f2fb26ac6a1?d=identicon)[nunomaduro](/maintainers/nunomaduro)

---

Top Contributors

[![nunomaduro](https://avatars.githubusercontent.com/u/5457236?v=4)](https://github.com/nunomaduro "nunomaduro (33 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![nunolaraveltestaccount](https://avatars.githubusercontent.com/u/106339258?v=4)](https://github.com/nunolaraveltestaccount "nunolaraveltestaccount (1 commits)")[![oliverquynh](https://avatars.githubusercontent.com/u/16967350?v=4)](https://github.com/oliverquynh "oliverquynh (1 commits)")[![rogervila](https://avatars.githubusercontent.com/u/6053012?v=4)](https://github.com/rogervila "rogervila (1 commits)")[![aglipanci](https://avatars.githubusercontent.com/u/2675283?v=4)](https://github.com/aglipanci "aglipanci (1 commits)")[![ssninnni](https://avatars.githubusercontent.com/u/7058344?v=4)](https://github.com/ssninnni "ssninnni (1 commits)")[![caneco](https://avatars.githubusercontent.com/u/502041?v=4)](https://github.com/caneco "caneco (1 commits)")

---

Tags

phpcomposerdependenciespatrol

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nunomaduro-patrol/health.svg)

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

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M420](/packages/drupal-core-recommended)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M738](/packages/sylius-sylius)

PHPackages © 2026

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