get symfony version in project code example
Example 1: symfony version check
bin/console --version
Example 2: create symfony 4 project
$ composer create-project symfony/website-skeleton:"^4.4" my_project_name
bin/console --version
$ composer create-project symfony/website-skeleton:"^4.4" my_project_name