Patrol is an elegant command-line tool that keeps your PHP Project's dependencies in check.
Requires PHP 8.2+
First, install Patrol via the Composer 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
Patrol is an open-sourced software licensed under the MIT license.