Skip to main content

AndreasKessel reshared this.

Nice #php feature of #composer 2.4 for authors:

»If you publish a developer tool (such as testing tools, data fixture tools, debugging tools, etc.), you can make use of this feature so Composer interactively prompts the user to install them under require-dev section in case the user forgets to use the --dev flag.«

nice! I’m going to use that for #t3adminer too (which is only meant as development tool).
I found out about this fearure by forgetting a --dev. Looks like it works. Even though it's no black magic to repeat the installation again when --dev was forgotten.