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

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners