Skip to content

Requirement of composer/composer actually needed? #103

@boesing

Description

@boesing

I wonder if the requirement of composer/composer is actually needed.

Can we drop composer/composer from require section of composer?

I would really love to have composer/composer removed as a dependency here. I haven't scraped the code yet but from what I know is that having composer/composer as a dependency is not recommended.

Is there a reason on why that has to be a requirement? The runtime-API is usually the way to go I'd say.
Maybe having composer/composer as a dev-dependency for certain tests might be helpful as well but besides that, I do not expect composer/composer to be around. But maybe I miss something here?

Example code

"require": {
"php": "^8.1",
"ext-json": "*",
"composer-runtime-api": "^2.0",
"composer/composer": "^2.4",

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions