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

mikeashi's avatar

From laravel application to debian package

Hello everyone,

So I have an unusual laravel application that is currently under development. This app has two modes a server that serve some services and a client mode that consume those services. This app should be deployed on a somewhat big number of servers (raspberry PIs in my case). So I was thinking about an efficient way to deploy this app to the servers and The deploy processes should allow an easy way to update and setup the application. Ideally a one command to install or update. I have done nothing like this before but I have come up with a few options: 1- create a debian Package and let the dpkg handle the setup/update process. 2- use composer to create something like the laravel installer. 3- write bash script to do the setup and update process maybe using some vcs like git.

Have you done something similar or do you have any tips or suggestions?

Thanks

0 likes
0 replies

Please or to participate in this conversation.