9952 explained code solutions for 126 technologies

php-symfonyHow to check PHP Symfony version?

To check the version of PHP Symfony, you can use the following command:

$ php bin/console --version

This will output the version of Symfony installed on your system, for example:

Symfony 3.4.20 (kernel: src, env: dev, debug: true)

The command consists of the following parts:

  • php: The command to run the PHP interpreter
  • bin/console: The Symfony console application
  • --version: The argument to output the version of Symfony

For more information, please refer to the Symfony documentation.

Edit this code on GitHub