mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-17 11:10:37 +02:00
Update examples in Composer usage section
This commit is contained in:
@@ -43,7 +43,7 @@ and if you don't have a `composer.json` file, one will be created. Here's an exa
|
|||||||
as a dependency of your project.
|
as a dependency of your project.
|
||||||
|
|
||||||
{% highlight console %}
|
{% highlight console %}
|
||||||
composer require twig/twig:~1.8
|
composer require twig/twig:^2.0
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
Alternatively, the `composer init` command will guide you through creating a full `composer.json` file
|
Alternatively, the `composer init` command will guide you through creating a full `composer.json` file
|
||||||
|
Reference in New Issue
Block a user