mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-26 14:54:30 +02:00
Fixed Twig example.
This commit is contained in:
@@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user