The composer as a dependency management tool for PHP is a complete feature-rich package that addresses a lot of developer and deployment problems. But unfortunately, most of the developers only get to know about commands like 'composer require drupal/module', 'composer install', and 'composer update'. One such lesser-known and lesser-used feature out of many is 'Composer Scripts'.

 

In this session we will cover the following:

  • Composer events
  • Registering scripts on different composer events
  • Registering custom composer commands
  • Executing custom composer commands
  • Referencing scripts
  • Some use cases where composer scripting is useful

 

The above topics and its working examples will significantly help you understand how development and deployment teams can work together in simplifying the build process and thereby demystifying the know-how of one of the many powerful features of the composer called composer scripting.

 

  • What level of knowledge should attendees have before walking into your session
    • Basic understanding of the composer
  • What will your session accomplish and what will attendees walk away having learned
    • Composer scripting solves many problems related to development and deployment and this session will definitely help attendees gain some fine knowledge about it.

 

Sponsors