2018-05-09 22:24:08 +00:00
|
|
|
|
---
|
|
|
|
|
title: Drupal VM, Meet Symfony Console
|
2020-03-08 17:52:59 +00:00
|
|
|
|
description:
|
|
|
|
|
How to develop command line applications using Symfony Console, using the
|
|
|
|
|
Drupal VM CLI as an example.
|
2018-05-09 22:24:08 +00:00
|
|
|
|
tags: [conference, php, drupal-vm, symfony]
|
2018-05-09 23:17:07 +00:00
|
|
|
|
speakerdeck:
|
2020-03-08 17:52:59 +00:00
|
|
|
|
id: 56c79770f73f4e47a542a30243437c49
|
|
|
|
|
ratio: '1.37081659973226'
|
|
|
|
|
url: https://speakerdeck.com/opdavies/drupal-vm-meet-symfony-console
|
2018-05-09 22:24:08 +00:00
|
|
|
|
image: drupal-vm-meet-symfony-console.png
|
|
|
|
|
events:
|
2020-03-08 17:52:59 +00:00
|
|
|
|
- event: drupalcamp_bristol_16
|
|
|
|
|
date: 2016-07-23
|
2018-05-09 22:24:08 +00:00
|
|
|
|
---
|
|
|
|
|
|
2020-03-08 17:52:59 +00:00
|
|
|
|
_TL;DR - Come and learn about Symfony Console, with examples from a real-world
|
|
|
|
|
project._
|
2018-05-09 22:24:08 +00:00
|
|
|
|
|
2020-03-08 17:52:59 +00:00
|
|
|
|
The [Drupal VM Generator][2] is a CLI application, built on [Symfony
|
|
|
|
|
Console][0], that generates configuration files for [Drupal VM][1] based on
|
|
|
|
|
personal settings and user interaction.
|
|
|
|
|
|
|
|
|
|
After an introduction to Drupal VM itself and the Drupal VM Generator, we’ll
|
|
|
|
|
jump into the code and see how Symfony Console applications are structured, how
|
|
|
|
|
to write new commands, and how to integrate additional libraries like Guzzle,
|
|
|
|
|
Twig and other Symfony components - whilst referencing code from the Drupal VM
|
|
|
|
|
Generator project.
|
2018-05-09 22:24:08 +00:00
|
|
|
|
|
|
|
|
|
[0]: http://symfony.com/doc/current/components/console/introduction.html
|
|
|
|
|
[1]: https://www.drupalvm.com
|
|
|
|
|
[2]: https://www.drupalvmgenerator.com
|