skip to Main Content

Is there way to create PHP Laravel without composer? On documention examples used below:
composer create-project laravel/laravel example-app

2

Answers


  1. you can use laravel cli but first you have install laravel cli by composer

    composer global require laravel/installer
     
    

    then use laravel command

    laravel new example-app
    
    Login or Signup to reply.
  2. If you have Docker Desktop and WSL2 (make sure Docker Desktop is using WSL2) you can use

    curl -s https://laravel.build/example-app | bash
    

    You can check out here for more complete guide

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search