drupol/composer-packages
Retrieve the list of packages installed by Composer in your project through a simple, object-oriented API, including names, versions, and metadata—no manual parsing of composer.lock or installed.json required.
drupol/composer-packages offers a lightweight, framework-agnostic way to work with Composer package metadata in PHP. Instead of parsing composer.json files or shelling out to the Composer binary, you get structured, typed objects you can inspect, filter, and reuse in your own tooling.
It fits naturally into package-discovery scripts, dashboards, static site generators, and CI checks that need a reliable view of dependencies.
How can I help you explore Laravel packages today?