Installing and configuring 

eugeniaperez.es

Composer

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. 

eugeniaperez.es

Installing Composer globally

  1. Download the installer and run it: https://getcomposer.org/doc/00-intro.md#installation-windows
  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!

eugeniaperez.es

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:

eugeniaperez.es

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

Updating Symfony applications

Execute the update command to update them all at once: 

 

You can see how all the dependencies are updated:

 

eugeniaperez.es

composer update

UT1. Installing and configuring Symfony

By eugenia_perez

UT1. Installing and configuring Symfony

  • 536
Loading comments...

More from eugenia_perez