The latest stable release of Symfony is 2.6.6 However, I would like to add some code to a core component. I have forked the repo and can clone it locally, but it is only the Symfony core. I need the full framework complete with AcmeDemoBundle so that I can run and test any changes.
The Symfony page recommends using the installer, but that only works for stable releases. On the same page, it gives the composer method of installing, but composer cannot find a 2.7 version.
How can I install the (currently dev) Symfony 2.7 framework-standard?
Running your Symfony ApplicationOpen your browser and navigate to http://localhost:8000/ . If everything is working, you'll see a welcome page. Later, when you are finished working, stop the server by pressing Ctrl+C from your terminal.
Symfony is a feature-rich back-end framework that is used to build complex applications. Many developers still prefer the lightweight Silex micro-framework or the Symfony MicroKernel, and Symfony is a widely used application framework among open-source developers.
If you have file system access to the project Look inside the file for a line like: const VERSION = '5.0. 4'; that's the Symfony version number.
As symfony/framework-standard-edition is not a typical dependency but used to bootstrap projects, it's best to install it via the create-project command:
composer create-project symfony/framework-standard-edition project_name
If you want a 2.7 version you would typically do this:
composer create-project symfony/framework-standard-edition project_name '2.7.*'
However since at the time of this writing there is no 2.7 stable, you need to lower the stability to dev:
composer create-project symfony/framework-standard-edition project_name '2.7.*' -s dev
-s
being short for --stability
.
composer create-project symfony/framework-standard-edition project_name '2.7.*@dev'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With