Задать вопрос
@ff0xff

Есть ли html-compress-twig для twig ^3.0?

nochso/html-compress-twig
composer require nochso/html-compress-twig
Using version ^2.0 for nochso/html-compress-twig
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- nochso/html-compress-twig 2.0.1 requires twig/twig ^1.26 || ^2.0 -> satisfiable by twig/twig[1.x-dev, 2.x-dev, v1.26.0, v1.26.1, v1.27.0, v1.28.0, v1.28.1, v1.28.2, v1.29.0, v1.30.0, v1.31.0, v1.32.0, v1.33.0, v1.33.1, v1.33.2, v1.34.0, v1.34.1, v1.34.2, v1.34.3, v1.34.4, v1.35.0, v1.35.1, v1.35.2, v1.35.3, v1.35.4, v1.36.0, v1.37.0, v1.37.1, v1.38.0, v1.38.1, v1.38.2, v1.38.3, v1.38.4, v1.39.0, v1.39.1, v1.40.0, v1.40.1, v1.41.0, v1.42.0, v1.42.1, v1.42.2, v1.42.3, v1.42.4, v2.0.0, v2.1.0, v2.10.0, v2.11.0, v2.11.1, v2.11.2, v2.11.3, v2.12.0, v2.12.1, v2.12.2, v2.12.3, v2.2.0, v2.3.0, v2.3.1, v2.3.2, v2.4.0, v2.4.1, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.5.0, v2.6.0, v2.6.1, v2.6.2, v2.7.0, v2.7.1, v2.7.2, v2.7.3, v2.7.4, v2.8.0, v2.8.1, v2.9.0] but these conflict with your requirements or minimum-stability.
- nochso/html-compress-twig 2.0.0 requires twig/twig ^1.26 -> satisfiable by twig/twig[1.x-dev, v1.26.0, v1.26.1, v1.27.0, v1.28.0, v1.28.1, v1.28.2, v1.29.0, v1.30.0, v1.31.0, v1.32.0, v1.33.0, v1.33.1, v1.33.2, v1.34.0, v1.34.1, v1.34.2, v1.34.3, v1.34.4, v1.35.0, v1.35.1, v1.35.2, v1.35.3, v1.35.4, v1.36.0, v1.37.0, v1.37.1, v1.38.0, v1.38.1, v1.38.2, v1.38.3, v1.38.4, v1.39.0, v1.39.1, v1.40.0, v1.40.1, v1.41.0, v1.42.0, v1.42.1, v1.42.2, v1.42.3, v1.42.4] but these conflict with your requirements or minimum-stability.
- Installation request for nochso/html-compress-twig ^2.0 -> satisfiable by nochso/html-compress-twig[2.0.0, 2.0.1].


voku/html-compress-twig
composer require voku/html-compress-twig
Using version ^4.0 for voku/html-compress-twig
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for voku/html-compress-twig ^4.0 -> satisfiable by voku/html-compress-twig[4.0.0].
- voku/html-compress-twig 4.0.0 requires twig/twig ^1.26 || ~2.0 -> satisfiable by twig/twig[1.x-dev, 2.x-dev, v1.26.0, v1.26.1, v1.27.0, v1.28.0, v1.28.1, v1.28.2, v1.29.0, v1.30.0, v1.31.0, v1.32.0, v1.33.0, v1.33.1, v1.33.2, v1.34.0, v1.34.1, v1.34.2, v1.34.3, v1.34.4, v1.35.0, v1.35.1, v1.35.2, v1.35.3, v1.35.4, v1.36.0, v1.37.0, v1.37.1, v1.38.0, v1.38.1, v1.38.2, v1.38.3, v1.38.4, v1.39.0, v1.39.1, v1.40.0, v1.40.1, v1.41.0, v1.42.0, v1.42.1, v1.42.2, v1.42.3, v1.42.4, v2.0.0, v2.1.0, v2.10.0, v2.11.0, v2.11.1, v2.11.2, v2.11.3, v2.12.0, v2.12.1, v2.12.2, v2.12.3, v2.2.0, v2.3.0, v2.3.1, v2.3.2, v2.4.0, v2.4.1, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.5.0, v2.6.0, v2.6.1, v2.6.2, v2.7.0, v2.7.1, v2.7.2, v2.7.3, v2.7.4, v2.8.0, v2.8.1, v2.9.0] but these conflict with your requirements or minimum-stability.

composer.json
{
"name": "tester/strategy",
"description": " ",
"type": "project",
"autoload": {
"psr-4": {
"App\\": "src"
}
},
"authors": [
{
"name": " ",
"email": " "
}
],
"require": {
"php": ">=7.2.0",
"twig/twig": "^3.0",
"ext-zlib": "*"
},
"require-dev": {
"symfony/var-dumper": "^5.0"
}
}

Подозреваю что ему не нравится 3я версия twig - нагуглил всего два дополнения первый от voku второй от nochso ни тот ни другой не работают с 3 версией... - может кто подскажет где можно раздобыть расширение для 3ей версии?
  • Вопрос задан
  • 147 просмотров
Подписаться 1 Простой Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы