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

Brotzka's avatar

Deploy Laravel to several servers

Hey,

currently I am thinking about a project, where I develope a little CMS. The customers get their own intallation on a server which is maintanaced by me.

But what about updating the customers installations? It's not difficult to make a git pull for each server (for example). But with higher numbers of customers it would be very annoying to do this manualy.

Is there a way to keep the customers installations updated automatically when I update the production version laying on a (deployment-) server?

I am using Laravel 5.2. Thanks!

0 likes
1 reply
foae's avatar

You could use an automation tool, just do a search. There are alot of open source tools to pick from.

Off the bat you could register a webhook in each of your git project* and ship a standardized php script which receives the webhook and simply pulls from repository. Eg https://bitbucket.org/lilliputten/automatic-bitbucket-deploy/

  • (assuming that your git hosting service allows for it. If not, check out gitlab.com or bitbucket.com)

Please or to participate in this conversation.