composer icon indicating copy to clipboard operation
composer copied to clipboard

add options for composer and php binaries

Open koenpunt opened this issue 7 years ago • 4 comments

Added :composer_bin and :composer_php options for better control of which binaries to use. When not explicitly set, the existence of the composer and php executables is now validated before the tasks are run.

Also Composer is now always invoked through php. For this the path to the composer executable is expanded by calling which composer on the remote host.

When :composer_bin is set to :local, composer:install_executable is automatically invoked on deployment. So no more manual hooking of additional tasks in the deploy configuration.

This more or less supersedes #41, but I think this is more flexible.

koenpunt avatar Oct 26 '16 20:10 koenpunt

ping ✨

koenpunt avatar Dec 23 '16 00:12 koenpunt

This PR would be very helpful since I'm using composer installed as a .phar, so it's not in the default location. Would be great to be able to specify the location of composer.

ndench avatar Apr 09 '17 11:04 ndench

Up!

lucasmezencio avatar Apr 28 '17 14:04 lucasmezencio

👍

dhyegocalota avatar Apr 28 '17 23:04 dhyegocalota