ezekel
(Dixunei)
1
After I installed the Windows Installer composer-setup.exe
I don’t know how to execute this in command prompt
php composer.phar require --prefer-dist yiisoft/yii2-apidoc "*"
can you help me please how can I install thee yii2 docs and api in my machine,
Thank you in advance.
samdark
(Alexander Makarov)
2
What do you mean by “don’t know how to execute this in command prompt”?
-
WIN-KEY + R.
-
cmd, ENTER.
-
enter your commands in the command prompt.
ezekel
(Dixunei)
3
Thank you for the reply.
This is what it says after I execute this command
Thank you in advance.
samdark
(Alexander Makarov)
5
Try "composer" instead of "php composer.phar".
ezekel
(Dixunei)
6
still doesn’t work I issue this command
C:\wamp\bin\php\php5.4.16>php composer require --prefer-dist yiisoft/yii2-apidoc
"*"
Could not open input file: composer
I really confuse how can i download the API and DOCS yii2 to my local.
Thank you in advance.
samdark
(Alexander Makarov)
7
Add location of composer binary to your PATH. Not sure why it wasn’t added automatically if you’ve installed it with https://getcomposer.org/Composer-Setup.exe