This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/source/_talks/drupal-vm-meet-symfony-console.md

33 lines
1.2 KiB
Markdown
Raw Normal View History

2018-05-09 22:24:08 +00:00
---
title: Drupal VM, Meet Symfony Console
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:
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:
- event: drupalcamp_bristol_16
date: 2016-07-23
2018-05-09 22:24:08 +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
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, well
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