imanghafoori/composer-json
Read and query data from any composer.json with a simple API. Provide the absolute path, create an instance, and access common fields via convenient methods—useful for tooling, package inspection, and build scripts.
require/require-dev sectionsjq instead), or if your use case is highly niche (e.g., accessing non-standard fields not covered by the package's methods)file_get_contents + json_decode suffices—though the convenience and safety of this package typically outweighs minimal overheadFor executives: "This package eliminates the need to build and maintain custom code for reading composer.json data, saving engineering hours and reducing risk. It's a proven, MIT-licensed solution that ensures consistent access to project metadata
How can I help you explore Laravel packages today?