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.

Related Article: How to install laravel

Suggest An Answer

No suggestions avaliable!

Latest post from Laravel Interview Questions

Ask Question