How we can install Laravel by composer?
Laravel installation steps:-
- Download composer from https://getcomposer.org/download/ (if you don’t have a composer on your system)
- Open cmd
- Goto your htdocs folder.
- C:\xampp\htdocs>composer create-project laravel/laravel projectname
If you install some particular version, then you can use
composer create-project laravel/laravel project name "5.6"
If you did not mention any particular version, then it will install with the latest version.
We have a blog related How to install Laravel by Composer Step by Step. You can read it