Try to add more verbosity:
composer create-project --prefer-dist laravel/laravel project -vvv
The command will produce a lot of debug logs, analyze them and maybe you will get an idea why you have request timeout.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have a problem when installing laravel with composer on windows using CMD.
"composer create-project --prefer-dist laravel/laravel project"
I use this successfully but for vendors it doesn't work always occurs request timeout error.
then I use the vendor installation manually when Laravel has been created with a prompt like this
composer install or composer install --no-scripts or composer install --prefer-dist or composer clear-cache or composer self-update or composer install --prefer-dist --timeout=600 or composer config --global process-timeout 600
I've tried it but I still can't install vendor in Laravel, it always says request timeout, I can't run laravel because autoload.php is not found. Tell me, how to overcome this, maybe the developers can tell me
Please or to participate in this conversation.