Do you get any error or do you know what and why it is blocked?
this is the output Continue as root/super user [yes]? y Creating a "laravel/laravel" project at "./basic" Installing laravel/laravel (v12.2.0)
In Process.php line 1205:
The process "'git' 'clone' '--mirror' '--' 'https://github.com/laravel/laravel.git' '/root/.cache/composer/vcs/https---github.com-laravel-laravel.git/'" exceeded
the timeout of 300 seconds.
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [<package> [<directory> [<version>]]]
In Windows I solved it by disabling antivirus, Avast
I read Could not resolve host: api.github.com
in your errors, that gives me the idea that there is a dns error. If it can't resolve api.github.com it will probably also have a problem in resolving github.com. That makes it impossible to download the code.
I suspect you need to check your DNS configuration.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community