Try running composer global require laravel/installer, that will update to the latest installer version and then again run laravel new..
@Nakov did not work while installing packages im getting
curl error 60 while downloading
ssl certificates error
@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 sign in or create an account to participate in this conversation.