9951 explained code solutions for 126 technologies


php-symfonyHow to install Symfony with Composer?


  1. Install Composer on your system.
  2. Create a new project with the following command:
composer create-project symfony/website-skeleton my-project
  1. This will create a new directory called my-project with the latest version of Symfony installed.
  2. You can then start the built-in web server with the following command:
cd my-project
php bin/console server:run
  1. You can now access your Symfony application at http://localhost:8000.

Edit this code on GitHub