haphpiness

These are things in PHP which make me genuinely_happy();

NativePHP — Desktop and Mobile Apps, All in PHP

NativePHP breaks PHP out of the browser. Build native desktop applications for macOS, Windows, and Linux — and now mobile apps for iOS and Android — using the PHP you already know.

// A desktop app window — in PHP
use Native\Laravel\Facades\Window;

Window::open()
    ->title('My PHP App')
    ->width(800)
    ->height(600)
    ->url('/');

Under the hood, NativePHP uses Electron or Tauri for the desktop runtime, while NativePHP Mobile compiles your Laravel app into a genuine native iOS or Android binary. You get access to native APIs — camera, notifications, file system, biometrics — through a clean PHP interface.

This isn't a toy. Marcel Pociot and the Beyond Code team built it as a first-class Laravel package with a real developer experience: hot reloading, menu bar apps, system tray support, file associations, deep links, and auto-updates. The mobile runtime bundles a real PHP interpreter, so your Blade templates, Eloquent models, and middleware all work as-is.

For 30 years, "PHP is only for the web" was an unquestioned truth. NativePHP made it obsolete.

Source: nativephp.com · GitHub, March 2026

Significance: New Frontiers

NativePHP shattered the oldest assumption about PHP: that it can only build websites. PHP developers can now ship desktop and mobile apps without learning Swift, Kotlin, or Electron's JavaScript stack. It's the most dramatic expansion of PHP's reach in the language's history — from server-side web to truly cross-platform native applications.