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

akc4's avatar
Level 1

What is the best way to "update" my laravel website on online hosting?

Hello,

I am using Inertia/Vuejs for a simple practice website.. I have uploaded the files to my online hosting and everything works fine.

Now my problem comes when I need to update something.. What I currently do is: I delete all my current files (on my online hosting) and upload the new ones every time.. But I am sure this isn't there right way of doing it.

What would be the most efficient way of doing it?

Thank you.

0 likes
2 replies
jlrdw's avatar
jlrdw
Best Answer
Level 75

Have a program similar to winmerge where you can track changes and just upload changed files.

Or use Git Version Control.

1 like
akc4's avatar
Level 1

git version control, I will definitely look into that. Thank you !

Please or to participate in this conversation.