Some recent projects will use the Symfony framework, the first problem is the Symfony framework download and installation, Symfony required PHP environment more than 5.5, requires PHP version of the switch. Using the Windows version of the installation is more cumbersome and error-prone, error messages will be explained otherwise. The method I used was to install using composer.
Composer is a tool used in PHP to manage dependency (dependency) relationships. You can declare your dependencies on the External tool Library (libraries) in your project, and composer will help you install these dependent library files.
The first step is to install the composer, and the method used is next-->next-->finished simpler method. Remember to correspond to the PHP version.
The standard for the test installation is: Type: Composer, output composer:
The location of the installed composer has always been my concern:
Secret key Location:
Now you can safely install the symfony. It is installed under the windowns,
Global Installation composer
Start with installing Composer globally.
Installing Symfony applications with composer
Once Composer is installed on your computer, execute the create-project
command to create a new Symfony application based on its LA Test Stable version:
If you need to base your application on a specific Symfony version, provide that version as the second argument of the command:
The second one is entered directly on the command line. The next is a long wait.
Installing Symfony with composer