How to create laravel project using composer

Updated at 19-May-2021, By samar

How to create laravel project using composer

In this tutorial, we will try to find the solution to "How to create laravel project using composer" through programming.

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.
  • 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