← Writing

Archive · This post is from a previous era of this site.

How to build Console Applications @ SymfonyCon 2013

This talk was presented at SymfonyCon 2013 in Warsaw.

Abstract

In some cases you feel the need to have some specific command-line commands for deployment, testing some code or doing any other specific task — and you usually use shell scripts to do it.

Why not use the Symfony2 Console component? You can easily build your own commands and interact with other bundles/components.

The Symfony2 Console component is a tool that gives you to build in a simple and easy way console applications.

This talk focuses on how you can simply build a Console application and how you can interact with other bundles/components.

Slides

The slides are available on SpeakerDeck.

Source Code

You can download it from my repository on GitHub.

Also if you want to have a look at the source code of the phplx prize raffle Console Application it is hosted on GitHub in a public repository.

Photos

Daniel Gomes @ SymfonyCon 2013

Photo by @bojanpejic