Symfony 3.0.0-BETA1 released last week, while we can wait for the installer for Symfony Standard Edition to support version 3, we can use it now via composer create project. Here we go, we can run in terminal the following command:
$ composer create-project symfony/framework-standard-edition sf3-std "v3.0.0-BETA1"
When installation complete, we can see the directory structure that slightly different then v2:
The structure for v3 is more like file system, where the executable file when old place is on app, now located in
bin directory, and there is
var directory to save cache, logs, and sessions.
Ok, now, let’s run server with console command:
$ php bin/console server:run
And we can see the following:
We can call 127.0.0.1:8000 in the browser, then:
Very cool! Didn’t try it? You actually need to give a try!