composer

Composer nodev

If you have separate dev/staging and production servers, ensure you copy/commit both your composer.json and composer.lock files to production and always run composer install --no-dev on production, rather than update. (The --no-dev switch will stop any packages listed in 'require-dev' from being installed, typically modules for debugging and libraries for unit/behavioral testing.)

Install local composer and drush

1. ensure php fpm url allow open = 1
2. increase ram
3. download composer
https://getcomposer.org/download/
4. Run locally php composer.phar require drush/drush:8.x
5. upload the composer.json and composer.lock files
5. Run remotely composer install
6. Run remotely ../vendor/drush/drush/drush status, cr, ups, up drupal

Session problem Drupal 8.6.13

Composer and Drupal are still strange bedfellows

Tips for Managing Drupal 8 projects with Composer

Discover colorbox or flexslider library when installed with composer

Update to drupal commerce dev with composer

Install drush 9 with composer - for drupal installed by composer

Update core via Composer for drupal project

Composer Drupal project Commerce

Subscribe to RSS - composer