How to create laravel project using composer

You can create a project in Laravel using a simple command. You have to install composer on your machine if you don’t have already installed it. After that, you can run the composer create-project command on your terminal to create a fresh Laravel project.

Answers 1
  • Create new project in Laravel

    composer create-project --prefer-dist laravel/laravel laravel-project

    You can create a new project in Laravel using composer. If you don’t have the composer you can install it. Create a new project using the command on your terminal.

  • Back to code snippet queries related laravel