简体   繁体   中英

How can i install annotation and profiler for an old version of Symfony?

When I try to install annotations or profiler for Symfony 4

composer require annotations

composer require --dev profiler

he install using version 5 and I get this problem

在此处输入图片说明

note : i dont want to upgrade to version 5. i am good with version 4.0.13

You can add :version end of your commands and for example use this commands:

composer require annotations:1.7.0

composer require --dev profiler:1.0.3

And see which version is true for your symfony version:

https://github.com/doctrine/annotations/releases

https://github.com/symfony/profiler-pack/releases

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM