How to install Drupal coding standard checker for command line?

July 15, 2016 - 11:21

Coder is a Drupal module to check for coding standard issues in custom modules and themes. It can check any files for coding standard issues according to Drupal specifications. This method uses latest composer and drush to install latest coder. Feel free to skip the following to corresponding parts you need.

  • Install composer

    Check if composer is installed,

    which composer

    If this is empty, proceed with below command. Else skip.