composer

Update Drupal commerce 2 website

Backup to Acquia dev desktop local site

Take a copy of htaccess

navigate to directory above public_html

composer outdated or composer outdated 'drupal/*'

composer update --with-dependencies drupal/commerce drupal/commerce_price drupal/commerce_product drupal/commerce_order drupal/commerce_payment drupal/commerce_payment_example drupal/commerce_checkout drupal/commerce_tax drupal/commerce_cart drupal/commerce_log drupal/commerce_store drupal/commerce_promotion drupal/commerce_number_pattern

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. go to WHM, find MultiPHP INI Editor, find php 7.2, ensure allow_url_fopen is Enabled
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 php composer.phar 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