Composer

Submitted by admin@soz on Sat, 06/17/2017 - 00:23

In live server 

https://modulesunraveled.com/drupal-8-composer-and-configuration-manage…

https://akrabat.com/using-composer-with-shared-hosting/

Command to working directory: drush --uri=http://localhost:8080/mydrupalsite

some command:

  • $ echo $PATH = 
  • whereis tar = To locate tar

In local computer windows 7 with Xampp

https://www.thecodedeveloper.com/install-composer-windows-xampp/


Composer commands (highlight word is the module name)

  • Install module: composer require drupal/commerce_shipping --prefer-dist
  • Update module: composer update drupal/token --with-dependencies