786
Hi everyone,
In this video we have installed Symfony 5 on both the Windows 10 system and Linux system.
1) Install Composer:
---------------------------------
For windows you can download composer from https://getcomposer.org/download/ and for the Linux system run the below commands:
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
2) Install Symfony 5 (same for both Windows and Linux):
---------------------------------
#Official symfony website URL:
https://symfony.com/doc/current/setup...
#Command to install:
composer create-project symfony/website-skeleton:"5.3.x@dev" my_project_name
3) Command to run symfony local server:
----------------------------------
For Windows system :
php -S localhost:3000 -t public
- For Linux system :
symfony server:start
-----------------------------------------------------------------------------------
For Background Music: https://www.bensound.com