Skip to content

Add support for multiple bundles in auto-configured packages #427

@emodric

Description

@emodric

Currently, if a package has a symfony-bundle type and does not have a recipe, it is automatically added to bundles.php, extracted from PSR4 autoload config. However, this only works for the first bundle listed in PSR-4 autoload.

It would be great if Flex would automatically activate all bundles it finds in autoload config, not just the first one.

Additionally, if some of them are listed in autoload-dev section, it would be great if those were automatically activated for dev environment too. Disregard this, this is not always wanted and most probably cannot be automated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions