2

I am happily developing a PHP app using Composer on cloudControl. It's great how it is integrated into the deployment procedure. However, there's no need for Composer to update on every deploy.

Is it possible to (temporarily) disable Composer, per deployment?

Thanks in advance.

2 Answers2

2

I am not entirely familiar with how cloudControl integrated Composer, but ideally you run should composer update when you see fit, and then commit your composer.lock file, and they would run composer install on every deploy.

Seldaek
  • 40,986
  • 9
  • 97
  • 77
1

If you mean composer updating itself: right now the latest version of composer is downloaded on every push, unless you have one already. Just place the composer.phar file in your project directory and it will be used instead.

Stefan Friesel
  • 823
  • 5
  • 19