How to know which version of Symfony I have?

前端 未结 11 1728
执念已碎
执念已碎 2020-12-07 19:35

I know that I have downloaded a Symfony2 project and started with but I have updated my vendor several times and I want to know which version of symfony I have

11条回答
  •  没有蜡笔的小新
    2020-12-07 20:04

    For Symfony 3.4

    Check the constant in this file vendor/symfony/http-kernel/Kernel.php

    const VERSION = '3.4.3';
    

    OR

    composer show | grep symfony/http-kernel
    

提交回复
热议问题