Speakers: 
Mile23
Track: 
Coding
Audience: 
Intermediate

You've heard of Composer, and you've seen composer.json files, but maybe you're unclear how any of this is really useful. Come and find out.

This session is for people familiar with the bash command line and PHP, but new to Composer. There will be minimal Drupal content, though I'll cover some of Drupal 8's Composer integration.

I will live-demo build a completely trivial PHP command-line app using the Symfony Console, without ever opening a tarball or figuring out which PEAR channel to update. Along the way we'll answer some questions:

  • What is Composer?
  • Why do I need it?
  • What problems can we solve with it?
  • PSR-What?

This will be a live-coding demo, and you will, essentially, be watching me type bash commands for an hour. Also: No slide deck. :-)

If you want to follow along, you'll need two things:

  • Be able to type "php --version" at your command prompt and see version 5.3.2 or later.
  • Type "which curl" and get a result.

I'll be using a Mac to show you what to type and when.

Note that I've posted a 'blog with the content, which you can follow along: http://mile23.com/content/enough-composer-be-dangerous

Length: 
50 minutes