【发布时间】:2018-02-12 04:31:54
【问题描述】:
我正在尝试将 Laravel 的原生 Blade 模板替换为 Symfony 的 Twig Templating Engine。然而,在twigbridge 的作曲家要求期间,我收到以下错误:
Using version ^0.9.5 for rcrowe/twigbridge
./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
- Can only install one of: twig/twig[1.x-dev, v2.4.4].
- Can only install one of: twig/twig[v2.4.4, 1.x-dev].
- Can only install one of: twig/twig[1.x-dev, v2.4.4].
- rcrowe/twigbridge v0.9.5 requires twig/twig ~1.30 -> satisfiable by twig/twig[1.x-dev].
- Installation request for rcrowe/twigbridge ^0.9.5 -> satisfiable by rcrowe/twigbridge[v0.9.5].
- Installation request for twig/twig (locked at v2.4.4, required as ^2.4) -> satisfiable by twig/twig[v2.4.4].
Installation failed, reverting ./composer.json to its original content.
我可能误解了这些错误,有什么建议吗?
【问题讨论】:
标签: php laravel symfony twig blade