maglnet/composer-require-checker
ComposerRequireChecker is a CLI tool that analyzes your composer.json and source code to find unknown symbols and soft/transitive dependencies. It flags code relying on packages or PHP extensions you haven't explicitly required, helping prevent unexpected breakage from dependency updates.
composer install and does not mutate code or install dependencies.check invocation against the root composer.json. No application code changes are required. Laravel-specific configuration is mainly about scanning files outside Composer autoload paths, e.g. config/*.php, routes/*.php, bootstrap/*.php, and artisan, via the scan-files config section.require-dev, or only runtime require? How will Laravel non-autoloaded paths be covered? How will PHAR versions be pinned and verified? What is the policy for existing soft dependencies and PHP extensions? How will custom installer plugins or monorepos be handled? What is the triage SLA for new findings?composer.json requirements where warranted, then codify exceptions in a checked-in composer-require-checker.json. Once clean, promote the CI job to blocking.XDEBUG_MODE=off, and use Composer v2. For projects with custom installer plugins, run the scan after composer install --no-plugins as documented, or isolate the scan in a dedicated CI job.scan-files for config/, routes/, bootstrap/, and artisan. 2) Capture baseline findings. 3) Fix or whitelist with owner sign-off. 4) Add CI as non-blocking. 5) Make blocking after two clean runs. 6) Standardize config across Laravel repos and review quarterly.scan-files globs will drift as the Laravel app evolves. Pin the PHAR version and upgrade deliberately after validating findings against the current dependency graph.composer install, custom installer plugin layouts, un-scanned Laravel paths, false positives, whitelist misconfiguration, PHP version mismatch, Xdebug nesting/performance limits, PHAR download or integrity issues, and CI output parsing. Plan for advisory mode and a documented exception process before enforcing.How can I help you explore Laravel packages today?