#Composer commands hangs (install, create-project ...)
18 messages · Page 1 of 1 (latest)
Unfortunately there's not much we can help you with here, apart from telling you to have more patience I guess. Composer is not a Laravel specific thing, it's used in all sorts of PHP projects. Guess it's not even Laravel specific, any other project with the same or more (nested) dependencies would likely have the same issue. It could be caused by so many things, like how you're running it (inside a VM), how fast your machine is (slow CPU), how fast your storage is (HDD vs SSD), heck, it might even be not enough RAM
You could run the command with -vvv to get more detailed information.
Also, you don't have to disable xdebug. Composer handles it automatically.
it give me this
even when I run php artisan serve with different php version and other projects it just stops like this
I tested a simple script like this one
and when i run it it shows this
it stops randomly
That would be caused by max execution time, but composer sets it to unlimited
sometimes (rarely) the php --version does not show anything , like it stops even before printing
What development environment are you using? How is PHP installed? Did you change any php.ini settings recently?
I downloaded different versions of php from https://windows.php.net/downloads/releases/archives/
for some projects
so just extracting and enabling few extensions in php.ini
and this happens with other php versions