News

NativePHP v3.1: The Biggest Performance Leap Yet

Published
NativePHP v3.1: The Biggest Performance Leap Yet image

NativePHP v3.1 just dropped. And it’s not a minor bump.

This is the single biggest performance update we’ve ever shipped. 10x faster response times. Background job processing. Android 8+ support. Full ICU on iOS. And a whole lot more.

Persistent Runtime

Every request used to go through a full Laravel boot cycle — 200-300ms each time.

That’s gone.

V3.1 boots Laravel once and reuses the kernel across all subsequent requests. Response times drop to 5-30ms. Your app finally feels native.

Livewire state, router state, facade instances — all handled automatically. Falls back to classic mode gracefully if needed.

Background Queue Workers

V3.1 ships with ZTS (Thread-Safe) PHP and a dedicated background queue worker on its own thread.

QUEUE_CONNECTION=database

That’s it. Dispatch jobs like normal. The worker starts automatically. Long-running tasks never block your UI. Jobs survive app restarts. Both iOS and Android supported.

Android 8+ Support

Minimum SDK drops from Android 13 (API 33) to Android 8 (API 26). Massively more devices can now run your app. SDK versions are fully configurable:

'Android' => [
'compile_sdk' => env('NATIVEPHP_ANDROID_COMPILE_SDK', 36),
'min_sdk' => env('NATIVEPHP_ANDROID_MIN_SDK', 33),
'target_sdk' => env('NATIVEPHP_ANDROID_TARGET_SDK', 36),
],

ICU/Intl on iOS

iOS builds now include full ICU support. The PHP intl extension works on both platforms.

Filament works on iOS and Android out of the box. No workarounds. No compromises. Optional via --with-icu / --without-icu flags.

More Goodies

PHP 8.3-8.5 — auto-detected from composer.json, binaries cached locally

  • Plugin multi-register — discover and register all plugins in one pass
  • Platform shorthandios/i and android/a everywhere
  • Removed unused depsreact/http and react/socket gone

Upgrading

Drop-in upgrade. No breaking changes.

composer require nativephp/mobile:~3.1.0
php artisan native:install –force

Read the full announcement and Update today.

NativePHP photo

Build native apps for desktop and mobile using the tools you love!

Filed in

Sponsored

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
The Laracon Archive image

The Laracon Archive

Read article
Group Adjacent Collection Items in Laravel with chunkBy() image

Group Adjacent Collection Items in Laravel with chunkBy()

Read article
Laravel queue:work Now Prints Why the Worker Stopped image

Laravel queue:work Now Prints Why the Worker Stopped

Read article
Sidecar Brings Statamic's Control Panel to Your Existing Markdown Sites image

Sidecar Brings Statamic's Control Panel to Your Existing Markdown Sites

Read article
Collections chunkBy() and Storage Path Hardening in Laravel 13.30 image

Collections chunkBy() and Storage Path Hardening in Laravel 13.30

Read article
Forte: Parse and Rewrite Laravel Blade Templates image

Forte: Parse and Rewrite Laravel Blade Templates

Read article