Edited at

How to fix composer NoSSL exception

More than 1 year has passed since last update.

When you encounter this error,

[RuntimeException]

The openssl extension is required for SSL/TLS protection but is not available.
If you can not enable the openssl extension, you can disable this error,
at your own risk, by setting the 'disable-tls' option to true.

do this

composer config -g -- disable-tls true

then

>composer install

You are running Composer with SSL/TLS protection disabled.
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files

:thumbsup: