install symfony 4 composer code example Example: symfony demo with composer $ composer create-project symfony/symfony-demo my_project