Without docker :
Install OS utilities, Web server, Php, DB server, Node, Laravel and then put your app.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Can anyone please point me in the direction of a guide on how to deploy a Laravel app to a VPS?
Edit: I can already setup VPS with LAMP stack and deploy directly to server with git. However, with Laravel, I believe there are other things to be done here and there (switching environments, cache, etc) after the files have been moved to the VPS.
I plan on using Laravel Forge in the future for convenience, but for now, I really want to know what happens under the hood when an app is deployed.
Use git to do it. Is simple and easy Just select the domain and under "Dev Tools" there's a Git option (should show enabled or disabled). Obviously you need to enable it, set up the auth key for GitHub etc. and pull your repo into the correct folder.
Put your files in the httpdocs or any folder you want, and just point to the public folder when setting your document_root in your hosting settings.
Please or to participate in this conversation.