Since 5 hours I try to find a solution, but to no avail, so this is my last resource.
On Macbook Pro 10.11.6 I run MAMP and have my sites and composer installed in the htdocs folder. Whenever I try to install YII2 advanced, however, the installation takes place outside the htdocs folder, somewhere in my root folder (which is useless because I can’t open a thing there).
What command line do I need to use to make sure YII2 advanced gets installed into the same web development folder /Applications/MAMP/htdocs?
YII own Installation docs first link and second link and third link