Installing and configuring


Composer is the dependency manager used by modern PHP applications and it can also be used to create new applications based on the Symfony Framework.

Installing Composer globally

  1. Download the installer and run it:
  2. The wizard indicates the path pointing to: C:\xampp\php\php.exe
  3. Keep going until you set the PATH
  4. Ready to run!

Creating a Symfony application

Execute the create-project command to create: 


Assigns default values...

Executing this command to run the application:


Then, open your browser and access the:

composer create-project symfony/framework-standard-edition project_name
php app/console server:run

Updating Symfony applications

Execute the update command to update them all at once: 


You can see how all the dependencies are updated:

composer update

UT1. Installing and configuring Symfony

By eugenia_perez

UT1. Installing and configuring Symfony

  • 776

More from eugenia_perez