Skip to content
Advertisement

How do I create a project based on a specific version of Symfony using composer?

I want to create a project based on Symfony 2.4.6.

These commands:

JavaScript

all say that they are installing Symfony 2.4.6, but I end up with 2.4.9 in my composer.lock and in vendors/. Is there a way to force creation of a project based specifically on 2.4.6?

Advertisement

Answer

try the Symfony Installer

To create a traditional web application :

JavaScript

and to build a lightweight app like a microservice, console application or API :

JavaScript

to install the current LTS version :

JavaScript

to install the latest stable version :

JavaScript

to install the development version :

JavaScript

to install a specific version :

JavaScript

OR with composer :

JavaScript

to install a full project in the 4.4.X stable version

or :

JavaScript

to install a lightweight project with fewer requirements

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement