You need to enable the openssl extension
in the PHP configuration used by your terminal. Go to your php.ini
file (for example: C:\tools\php83\php.ini
), find the line with ;extension=openssl
or ;extension=php_openssl.dll,
remove the semicolon at the start, and then save the file. After that, open a new terminal window, run php -m
to make sure openssl
appears in the list, and then try creating your Laravel project again.