cztomczak/phpdesktop ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple desktop app wrapper for a PHP web app, something like Electron but for PHP.

I want to be able to drop an existing PHP site into the app and have it run as a normal desktop program with its own window, local web server, and bundled browser so the user does not need to install anything extra. It should work well for a small database driven app using PHP, HTML, JavaScript, and SQLite, and it should feel like a real native app when launched from the desktop.

Please set it up so I can easily replace the sample content with my own app files in the web folder, then run it as a portable Windows app I can zip up or package into an installer later. Keep it simple and reliable, and make sure the app starts cleanly and handles the usual desktop stuff like opening links in the window and loading local pages correctly. If you need to, look up the current docs online before you make changes.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab