Composer: Difference between revisions
From DiviFree
(Created page with " ==Installation de Composer== * https://getcomposer.org/download/ Attention version PHP dans le path 7.x ==Installation de Twig== * https://twig.symfony.com/doc/3.x/intro.html#installation") |
No edit summary |
||
| Line 4: | Line 4: | ||
* https://getcomposer.org/download/ | * https://getcomposer.org/download/ | ||
Attention version PHP dans le path 7.x | Attention version PHP dans le path 7.x | ||
composer.json | |||
<pre> | |||
{ | |||
"require": { | |||
"twig/twig": "^3.0", | |||
"monolog/monolog": "^2.0" | |||
} | |||
} | |||
</pre> | |||
<pre> | |||
composer update | |||
</pre> | |||
==Installation de Twig== | ==Installation de Twig== | ||
* https://twig.symfony.com/doc/3.x/intro.html#installation | * https://twig.symfony.com/doc/3.x/intro.html#installation | ||
Revision as of 07:11, 17 February 2023
Installation de Composer
Attention version PHP dans le path 7.x
composer.json
{
"require": {
"twig/twig": "^3.0",
"monolog/monolog": "^2.0"
}
}
composer update