How to install laravel using composer or laravel installer ?
First of all confirm that you have install composer.
Install using composer.
- Open your command prompt.
- Then go to your project directory.
- Then write command to install laraavel using composer.
- Command for install laravel "composer create-project --prefer-dist laravel/laravel project_name"
- Wait until symfony installs in your computer.
Install using laravel installer.
- Open your command prompt.
- Install laravel installer to install laravel setup.
- Command for laravel installer "composer global require laravel/installer"
- Go to your project directory after completion of installation of laravel installer.
- Then write command for installing laravel.
- Command for laravel setup "laravel new project_name".
Your installation has been complete.
Post a Comment