I was experimenting with WordPress and XAMPP. To install WordPress I have to copy WordPress files in the htdoc folder of xampp and rename it to the website name. I wonder, after completing one project how I will start the second one. I mean I have to copy Wordpress files again and rename the folder for second website name. Isn’t create the extra load?
However, there are better alternatives. Docker (or docker-compose), for instance. With Docker, you have containers that you can reinitialize with a command and just work: you create the theme or plugin you’re working on and you’re ready. Of course, depending on your needs it may need a complex setup or event creating a container image.