WELL ,Finally, I successfully downloaded the system files through the composer under Windows 2012 R2 by following step:
- Find and enter the PHP installation directory (the same set of PHP instructions you execute on the command line).
- Copy composer.phar to the PHP installation directory, which is the same directory as php.exe.
- Create a new composer.bat file in the PHP installation directory, and save the following code to this file.
@php "%~dp0composer.phar" %*
next:
composer create-project flarum/flarum . --stability=beta
Five minutes later, I finally saw the public directory and other files. I'm so happy about it!
next
installing flarum/flarum(v0.1.0-beta.11)downloading(100%)
ops:
Plugin installation failed, rolling back
next:
cd /path/to/flarum/
composer install
after 8min installing started...
WELL DONE.
NEXT,
SET ./PUBLIC AS webroot
JOB Done! THANK YOU VERY MUCH FOR ALL OF YOU!
clarkwinkelmann @luceos @jordanjay29 @TheyCallMeTojo