L
L
Lobster2017-06-09 23:37:16
PHP
Lobster, 2017-06-09 23:37:16

How to install composer?

Operating system W7. I use OpenServer to work with PHP. For learning purposes, I'm studying this video tutorial ( link below ) on creating a CMS in php. In general, starting from 09:00 , he installs composer via GIT BUSH in the project folder with the composer init command . The console throws an error bash: composer: command not found .
And I'm not the only one there. He himself did not give an answer. Can someone tell me how to install composer.
********Video********

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Shapoval, 2017-06-09
@AlexanderShapoval

You can use the installer
https://getcomposer.org/Composer-Setup.exe
Specify the path to the php.exe file that is used by the open server and that's it. check that the PATH variable contains the path to php.exe, then PHP can be run from the console

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question