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

ShadyarBzharOthman's avatar

How to Automate Starting XAMPP, Laravel, and Vue.js in One Click(Locally)?

I have a Laravel and Vue.js management system that my client needs to run locally on their Windows machine. I want to simplify the process so that they can start everything (XAMPP, Laravel backend, and Vue.js frontend) with just one click. What’s the best way to achieve this without converting it into a desktop app? I'm looking for a solution involving a script or tool that automates this. Any suggestions or examples are appreciated!

0 likes
12 replies
click's avatar
click
Best Answer
Level 35

Is it allowed to run xampp all the time? Just configure it to start on startup of the computer: https://medium.com/@phpxpertise/how-to-start-xampp-automatically-in-windows-b404da94a0d8 and "laravel" and "vue" do not have to be startup, just open the webpage in a browser or place a shortcut on the desktop: https://answers.microsoft.com/en-us/windows/forum/all/how-to-put-a-website-shortcut-onto-desktop/a83aaf75-8498-49ee-b616-1aa720d3682e

1 like
MohamedTammam's avatar

After setting up XAMPP and adding the project code, database and all necessary stuff. All the client needs in future to run the project is just opening XAMPP. And you can config XAMPP to make it run on Windows start.

1 like
martinbean's avatar

@shadyarbzharothman The point of web apps is to be ran from a web server, via a web browser; not on someone’s computer. If they want to run something locally then make an actual native app.

2 likes
jlrdw's avatar

@ShadyarBzharOthman I suggest taking a few months to a year and learn this stuff well before you try to implement anything. There are many free lessons right here on this very site.

Edit

@shadyarbzharothman You realize xampp is not meant for a live server just development.

ShadyarBzharOthman's avatar

@martinbean In the future they may want the web version so if I create a native desktop app then In the future I must create it from scratch

ShadyarBzharOthman's avatar

@jlrdw I'm a software developer and I have a SAAS web app using laravel, and yeah I know that but it's thier requirement and I want an option even if it's not xampp

In my country small places does not provide internet so that's why

jlrdw's avatar

@ShadyarBzharOthman Then run locally in Apache, just use a bookmark to the page you start on.

I did the same for a home finance program. You can auto start Xampp as a service, their site and docs have instructions.

You can even make a desktop shortcut.

1 like

Please or to participate in this conversation.