symfony3 Getting started with symfony3 4. Creating the Symfony Application


Example

Once the Symfony Installer is available, create your first Symfony application with the new command:

# Linux, Mac OS X
$ symfony new my_project_name

# Windows
c:\> cd projects/
c:\projects\> php symfony new my_project_name

This command can be run from anywhere, not necessarily from the htdocs folder.

This command creates a new directory called my_project_name/ that contains a fresh new project based on the most recent stable Symfony version available. In addition, the installer checks if your system meets the technical requirements to execute Symfony applications. If not, you'll see the list of changes needed to meet those requirements.