On October 10, 2024 at 13:48

Responded to @kasparsd:

There are tools like github.com/humbug/php-scoper or github.com/coenjacobs/mozart but they don't solve the problem of rewriting the composer.json to exclude the scoped dependencies, for example.

For utility binaries there are now "shim" packages like github.com/wp-cli/wp-cli-shim or tools like github.com/bamarni/composer-bi to pull them in into isolated directories.