Fixed Twig example.

This commit is contained in:
Phil Sturgeon
2012-07-10 13:55:51 +01:00
parent d85db0292f
commit 58a92de0c8
2 changed files with 6 additions and 8 deletions

View File

@@ -41,13 +41,11 @@ When you come across documentation that states to run Composer as `php composer.
First, create a `composer.json` file in the same directory as `composer.phar`. Here's an example that lists [Twig][2] as a project dependency.
{% highlight json %}
{
"require": {
"twig/twig": "1.8.*"
}
}
{% endhighlight %}
{
"require": {
"twig/twig": "1.8.*"
}
}
Next, run this command from your project root directory.