Building desktop apps...with PHP?
summary
A Laravel package called NativePHP runs a local PHP web server inside an Electron (with Tauri planned) shell, ships a 21 MB static PHP binary so users don’t need system PHP, and produces distributables (DMG/appimage/exe) with an auto-updater. The demo shows composer require nativephp, PHP Artisan native:install / native:build, hot-reloaded service provider APIs to open windows and menu-bar apps, settings persisted via a settings facade and realtime updates with Livewire, SQLite as the bundled DB, no xdebug by default, and Linux/Windows support pending.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 0:36Tinkerwell
- 4:00Electron Workflow
- 7:43Native PHP
- 8:42Installing Native PHP
- 11:20Native App Service Provider
- 17:37Opening multiple windows
- 20:00Menu
- 27:13Other features
- 30:09Questions
- 31:33Packages
- 32:50App to user
- 34:05Database restrictions
- 35:50Security
- 37:21Databases
- 37:46Install binaries
- 38:11Question








