How to install composer manually?

Well, hello everyone, this is my first post and nice to meet you all.

First of all, I followed what I found in

and I keep having this message


The composer file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:

error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

Failed to enable crypto

failed to open stream: operation failed


The only way I found to install composer was to install the composer.phar file using:

echo @php "%~dp0composer.phar" %*>composer.bat

in xampp/php folder, however doing this I can only call PHP or composer functions inside this folder, how can I install composer properly?

You can install composer manually following this URL:

Thanks, it has also helped me for my client’s website.