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 →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article