August 25, 2022 https://tauri.app/ is an exciting alternative to Electron for building cross-platform desktop applications. While not as mature as Electron and still missing some features, it offers a fresh approach via its lightweight bundle sizes and superior performance.

Next I'll explain the basic concept for 2-way communication between Tauri and a PHP app via serialized JSON data.

To compile a PHP project simply navigate to the project at the command line and run box compile.

To keep it simple, I'll create a basic PHP project which takes a string argument when invoked, and responds with a JSON encoded string.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners