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
- Download the installer and run it: https://getcomposer.org/doc/00-intro.md#installation-windows
- The wizard indicates the path pointing to: C:\xampp\php\php.exe
- Keep going until you set the PATH
- 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:
UT1. Installing and configuring Symfony