TOWUK_ru umh this is steps i suggest to follow:
- create a new folder inside htdocs or delete all file into the existing folder created by you you want run flarum
- from here open cmd
- run
composer clearcache
- run
composer create-project flarum/flarum . --stability=beta
- now run
php flarum install
For me works just still be not able to understand how to remove public from localhost address.
The error Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\vendor\flaru
m\core\src\Extension\ExtensionManager.php on line 278
is present for me only on localhost clean install using browser, not if i run steps above.