[wp-trac] [WordPress Trac] #63912: Make Composer available via npm run on host machine

WordPress Trac noreply at wordpress.org
Tue Sep 2 22:20:56 UTC 2025


#63912: Make Composer available via npm run on host machine
------------------------------+------------------------------
 Reporter:  paulbonneau       |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  trivial           |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+------------------------------

Comment (by paulbonneau):

 Replying to [comment:1 SirLouen]:
 > Hey @paulbonneau
 > Why not using a similar format as the current `env:cli` command like:
 >
 > {{{
 > node ./tools/local-env/scripts/docker.js exec php composer
 > }}}

 Hello @SirLouen !
 I kept `docker run` over `docker exec` because it enables the container to
 be spawned specifically at the command runtime meaning that you can for
 example, lint your code, even if `wordpressdevelop/php` container is off.

 Thank for your review !

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63912#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list