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

jkoopman's avatar

Updating changes to live server without Forge

This is not really a Laravel question, but I still want to ask it here because I think other Laravel users may have the samen issue.

Currently I have a server with using Ubuntu and nginx (Php7) which my Laravel project on it. I do not use Forge to deploy my current changes to the live environment of the server.

Currently i do this manually by removing all files from the server, then clone it from sourcetree and run the migrate command. I remove everything because sourcetree is not be able to overwrite the current files which on my server. This is really annoying and takes me a lot of time.

Hopefully someone knows how i can update my changes on a easier way to the live server.

0 likes
3 replies
jlrdw's avatar

For one site I use an old school approach, I have a folder on local computer with a copy of changed files only. So at any point I can upload. Granted, I have duplicate files on my dev machine, the trick is to upload them and not let that folder grow too big. Once uploaded via ftp, I delete local copy a day or 2 later only after I know all is working on production.

jkoopman's avatar

@jlrdw Thank you for your reply.

This is a solutions, but also take some effort. Especially when have a huge update with a lot of files included.

There should be another faster way to do.

Please or to participate in this conversation.