When using MAMP or MAMP PRO and composer on windows, you might run into composer complaining that openssl is not enabled.
And after you enable it through the MAMP php.ini, it still doesn’t work.

You’ll be browsing the interwebs finding that you just have to copy the php.ini file from one folder to another. But after doing that, it still doesn’t work.

The solution

  1. in MAMP, go to View > PHP
  2. Then just check the ‘Make this version available on command line’ checkbox right below the php version dropdown
  3. Restart MAMP