So if I use composer for every project next, I need to install it again in that directory? Including laravel? Is that right if I want to go into / Users / XXX / Projects / and install composer in this directory? And laravel? But what was the composer that I installed through brew?įirst I install homebrew, then I install composer main program through brew? I put it in the / Users / XXX / Projects / Project folder (there are other projects here) So can I choose to install composer to any directory? And laraval?īecause my project folder is not in Applications/XAMPP/htdocs (I have other projects)
curl -s | phpĪnd composer create-project laravel/laravel -prefer-distĪnd in the “Applications/XAMPP/htdocs” directory? I also installed composer on the machine through homebrew I’ve changed the path of PHP to the version of XAMPP