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

masteringlaravel logo
Laravel Code Review

Get expert guidance in a few days with a Laravel code review

Visit Laravel Code Review

The latest

View all →
Laravel Image Responses: Serve Resized Images From Routes image

Laravel Image Responses: Serve Resized Images From Routes

Read article
Pause All Laravel Queues During a Deploy image

Pause All Laravel Queues During a Deploy

Read article
Laravel Terminal UI for the artisan dev Command image

Laravel Terminal UI for the artisan dev Command

Read article
Pause All Queues and a New artisan dev UI in Laravel 13.25 image

Pause All Queues and a New artisan dev UI in Laravel 13.25

Read article
Laravel monitoring that doesn't bill you by your traffic image

Laravel monitoring that doesn't bill you by your traffic

Read article
Mock PHP Classes in Tests With the Double Library image

Mock PHP Classes in Tests With the Double Library

Read article