Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Farirai's avatar

i ran laravel new appname since i got laravel installed globaly but getting the errors below

the error

Failed to download laravel/laravel from dist: curl error 60 while downloading https://codeload.github.com/laravel/laravel/legacy.zip/3986d4c54041fd27af36f96cf11bd79ce7b1ee4e: SSL: no alternative certificate subject name matches target host name 'codeload.github.com'

0 likes
4 replies
Nakov's avatar

Try running composer global require laravel/installer, that will update to the latest installer version and then again run laravel new..

Farirai's avatar

@Nakov did not work while installing packages im getting

curl error 60 while downloading

ssl certificates error

Farirai's avatar

@Nakov

Failed to download guzzlehttp/uri-template from dist: curl error 60 while downloading https://codeload.github.com/guzzle/uri-template/legacy.zip/b945d74a55a25a949158444f09ec0d3c120d69e2: SSL: no alternative certificate subject name matches target host name 'codeload.github.com'
Now trying to download from source
  • Syncing guzzlehttp/uri-template (v1.0.1) into cache 1/34 [>---------------------------] 2% - Downloading symfony/var-dumper (v6.2.5)
  • Downloading symfony/console (v6.2.5)
  • Downloading symfony/css-selector (v6.2.5) Failed to download tijsverkoyen/css-to-inline-styles from dist: curl error 60 while downloading https://codeload.github.com/tijsverkoyen/CssToInlineStyles/legacy.zip/c42125b83a4fa63b187fdf29f9c93cb7733da30c: SSL: no alternative certificate subject name matches target host name 'codeload.github.com' Now trying to download from source
  • Syncing tijsverkoyen/css-to-inline-styles (2.2.6) into cache Failed to download symfony/uid from dist: curl error 60 while downloading

https://codeload.github.com/symfony/uid/legacy.zip/8ace895bded57d6496638c9b2d3b788e05b7395b: SSL: no alternative certificate subject name matches target host name 'codeload.github.com' Now trying to download from source

  • Syncing symfony/uid (v6.2.5) into cache
  • Downloading doctrine/lexer (3.0.0) Failed to download psy/psysh from dist: curl error 60 while downloading

https://codeload.github.com/bobthecow/psysh/legacy.zip/52cb7c47d403c31c0adc9bf7710fc355f93c20f7: SSL: no alternative certificate subject name matches target host name 'codeload.github.com' Now trying to download from source

Please or to participate in this conversation.