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

webdevapps's avatar

Laravel Envoyer Deployment Hook Install Composer Dependencies Failed

We are using for Laravel Deployment the Envoyer platform.

We have the problem that the Deployment Hook "Install Composer Dependencies" stops at 600 Seconds on one server.

So the Deployment does not go through since days.

I found the possibility to set a config param "process-timeout" in the composer.json but nothing happens. That is not considered.

I have no idea where I should still look to change this value or increase.

Can someone help me?

0 likes
6 replies
isa's avatar

Did you try to manually log into server, and install Composer deps? 10 minutes is huge time, maybe you have some network troubles on server

webdevapps's avatar

We have a lot of packages and additionally we run in our composer script npm install and npm update.

We ware using three servers. The Last positive deployment was with on first server 556 seconds on the second 190 seconds and on the third 566 seconds.

isa's avatar

Oh, that's is an issue. in our composer script npm install and npm update.

Consider using separate steps in Envoyer, where you install NPM deps, and build your assets. That's only option in your case, since Envoyer, does not support increasing timeouts. Deployment hooks designed right for that actions.

webdevapps's avatar

But why is it so different on the three servers?

I mean the difference between 190 Seconds on one of the servers and 556/566 Seconds on the others.

Thats really strange.

isa's avatar

I'm 90% sure this is network related. Maybe, it depends on current server load, when resources heavy used, installs and compilations way slower, than on servers with more free CPU & RAM available.

Of course, i can be wrong, but i suggest you to take a look into at network speed and resources usage on your servers.

webdevapps's avatar

Ok we fixed that problem in which we have made more RAM available to the server.

Sometimes things can be so easy.

Please or to participate in this conversation.