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.
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?
If you want to follow along, you'll need two things:
- Be able to type
php --versionat your command prompt and see version 5.3.2 or later.
which curland 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
Yes, that's right, there's no slide deck. :-)