I have a local Xampp server installed, in the htdocs folder I have already created a project on Laravel, everything works correctly, but I want to create a completely new project in the same folder, do I need any changes to the commands for the composer, given that I have already installed Laravel?

    2 answers 2

    Yes. For each project you need to run the command

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

    where blog is the name of the project folder that Composer will create.

      Laravel is installed as packages via the Composer package manager. Nothing more is done, then you already work with the framework as with ordinary scripts, so if you want to create a new project in the same folder, rename the folder or delete it altogether and start again as described in the documentation .