Building desktop apps with PHP
summary
Claim: a Laravel package called NativePHP lets PHP apps run as desktop apps by bundling a static PHP binary (about 21 megabytes) and using an electron driver today (a T driver is in progress). Demo shows hot‑reloading, Livewire state sync between windows via native events, menu‑bar and window APIs, clipboard access, a full‑screen window picker that takes screenshots, and a quirky Bluetooth printer demo that sometimes fails, plus packaging, auto‑updates, queues, scheduler and native dialogs working end‑to‑end.
AI-written summary · about
chapters (12)
- 0:00Build desktop apps with PHP
- 3:38Electron and Tauri frameworks
- 8:14Bundling PHP with apps
- 10:21Native PHP framework
- 12:27Setup Native PHP app
- 14:58Customize window behavior
- 17:04Menu bar applications
- 18:52Settings screen
- 24:37Livewire color change
- 30:15Screenshot tool
- 45:29Native PHP features
- 47:19Q&A








