Skip to content

show --direct but for a specific package rather than the root #10619

@joachim-n

Description

@joachim-n

There doesn't seem to be a way to show the list of all packages that a given package depends.

composer show --direct works, but only for the root.
composer show --tree foo/bar works but shows a tree.

Is there a way of showing a list?

If there isn't, could the --direct option be expanded to take an optional parameter?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions