laminas / laminas-component-installer

Composer plugin for injecting modules and configuration providers into application configuration
https://docs.laminas.dev/laminas-component-installer/
BSD 3-Clause "New" or "Revised" License
27 stars 12 forks source link

CLI command to verify that all components are registered #66

Open boesing opened 1 year ago

boesing commented 1 year ago

Feature Request

Q A
New Feature yes
RFC yes
BC Break no

Summary

Hey there, I was recently talking to a coworker and realized, that this component could also provide a CLI command which verifies that all modules/configs are properly registered (as configured). As of now, this only suggests adding/removing stuff during composer install/update and thus does not do anything if nothing changes within vendor/ directory. I'd love to have a CLI command which uses composer.lock to extract extra.laminas.config-provider, etc. and checks projects extra.laminas.component-auto-installs and extra.component-ignore-list to verify if everything is properly registered in either module.config.php or config.php (the same way as it does during composer install).

froschdesign commented 1 year ago

Nice idea! 👍🏻