Writing a CLI Application using Symfony Components

jmolivas

The Symfony Console component is the second most popular component, with more than 1 million monthly downloads and more than 2,300 projects depending on it.

This component allows you to focus on one thing: creating CLI commands. It takes care of all the coloring output, input gathering and command definition and execution.

In this session, you will learn how to set up a stand-alone command line application by using the Console Component. You will learn how to create a CLI Application, add Commands, register Events and finally, you will see how to extend the default behaviour of the Console component to add features not supported out of the box.

Session Track

Symfony

Experience Level

Intermediate

Drupal Version