How to install symfony 2.7?

The latest stable version of Symfony is 2.6.6. However, I would like to add code to the main component. I forked the repo and could clone it locally, but this is only the core of Symfony. I need a complete structure complete with AcmeDemoBundle so that I can run and test any changes.

The Symfony page recommends using the installer, but this only works for stable releases. On the same page, he gives the installation linker method, but the composer cannot find version 2.7.

How can I install (currently dev) the symfony 2.7 framework standard?

+4
source share
3 answers

symfony/framework-standard-edition , , create-project:

composer create-project symfony/framework-standard-edition project_name

2.7, :

composer create-project symfony/framework-standard-edition project_name '2.7.*'

, 2.7, dev:

composer create-project symfony/framework-standard-edition project_name '2.7.*' -s dev

-s --stability.

+5
 composer create-project symfony/framework-standard-edition project_name '2.7.*@dev'
+4

When I try to execute the following command

composer create-project symfony/framework-standard-edition project_name '2.7'

the composer returns this error:

[UnexpectedValueException] Could not parse version constraint '2.7': Invalid version string "'2.7'"

You must install without single cats:

composer create-project symfony/framework-standard-edition project_name 2.7

-1
source

All Articles