How to know which version of Symfony I have?

前端 未结 11 1723
执念已碎
执念已碎 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:25

    Another way is to look at the source for Symfony\Component\HttpKernel\Kernel for where const VERSION is defined. Example on GitHub

    Locally this would be located in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php.

提交回复
热议问题