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

ActiveLibrary

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

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

v1.2.0(2y ago)271127.8k—8.9%19[2 PRs](https://github.com/nunomaduro/patrol/pulls)3MITPHPPHP ^8.2

Since Jun 15Pushed 1y 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 1mo ago

READMEChangelogDependencies (9)Versions (6)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)

---

**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

45

—

FairBetter than 93% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity50

Moderate usage in the ecosystem

Community22

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 90.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 ~212 days

Total

5

Last Release

950d 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 (30 commits)")[![caneco](https://avatars.githubusercontent.com/u/502041?v=4)](https://github.com/caneco "caneco (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)")

---

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

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[phan/phan

A static analyzer for PHP

5.6k11.2M1.1k](/packages/phan-phan)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

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

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[drupal/core-recommended

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

6939.5M343](/packages/drupal-core-recommended)[drupal/core

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

19562.3M1.3k](/packages/drupal-core)

PHPackages © 2026

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