Normally, Laravel Herd includes a few of extensions including openssl. So first of all make sure that both PHP and Nginx are running in your Laravel Herb
If you're sure that they're up and running, but still encounter the same issue, then you have to activate it yourself. You should enable openssl
extension in your php.ini
file. To find out it's location, run php --ini
. Then open php.ini
and uncomment the line with extension=php_openssl.dll
. Now try to create the project again
If you still encounter the same issue, then you have to install OpenSSL. In that case, I'd advise you to visit this page for more info