Native PHP
summary
Shows how to run a full Laravel app as a desktop app by bundling a compiled PHP runtime (21 MB static PHP binary) into an Electron shell, letting you run composer require nativephp then use PHP Artisan native: surf/builds to develop with hot reload and to bundle a DMG (~276 MB) for macOS. Demonstrates menu bar, multiple windows with remembered state, Livewire real‑time events, SQLite DB migrations, dialogs, clipboard, auto‑updater and that Linux support is coming with Windows planned.
AI-written summary · about
chapters (14)
- 0:00Introduction and inspiration
- 1:56Electron vs. Tauri
- 3:00Desktop app architecture
- 5:35NativePHP overview
- 6:35Getting started
- 8:59Configuring the window
- 12:43Menu bar integration
- 14:22Creating custom menus
- 16:00Event handling
- 19:00Real-time data sharing
- 22:25Native dialogs
- 23:51Building and distributing
- 25:02Advanced system features
- 27:12Q&A session








