Bifrost turns 1! Get 30% off annual plans with code
HAPPYBIRTHDAY
Blog

NativePHP Mobile 4.5.0

NativePHP for Mobile 4.5.0 is out — and nativephp/mobile-ui 0.5.0 is shipping with it. Async PHP that finishes back on the UI, glow and blur utilities for soft page-bg orbs, gesture pan binding, automatic routes/mobile.php, PHP 8.3 support restored, OTA apply-on-boot moved out of core check/download, plus a pager, sheet pane, and background layer in mobile-ui.

Upgrade with:

Copied!
composer update nativephp/mobile nativephp/mobile-ui
php artisan native:install
php artisan native:run

native:install has to run after the composer update and before native:run so the native shell picks up the new packages.

Async tasks#

Run background PHP work and get a UI completion callback when it’s done — without freezing the screen (#228).

Docs: Async Tasks · Queues when you need durable jobs instead.

Glow, blur, and gestures#

glow-* halos and blur-* soft page-bg orbs land in the Tailwind parser (#457). Gesture areas pick up pan-x binding and a @dragEnd callback (#463).

Docs: Layout & Styling · Gesture Area · Gestures & Animation

Routing and PHP#

routes/mobile.php loads automatically in native contexts (#474). Native routes register under their prefixed URI (#475). PHP 8.3 support is restored alongside 8.4 (#473).

Docs: Routing

OTA, lifecycle, and stores#

Pending OTA zips apply on boot; check/download leave core (#400). Native components get lifecycle foundations (#343). Non-production builds are marked as testing builds for both stores (#415).

Docs: Lifecycle Hooks · Publishing (production vs testing builds)

mobile-ui 0.5.0#

Also landing: a full-screen snap pager for feeds (#88), an always-on sheet pane for permanent bottom sheets (#38), and a background layer that stays beneath every screen (#37). Gesture areas get horizontal pan + drag-end to match Mobile (#101). Relative image paths resolve against public (#56). Plus list-item tap/theme fixes, scroll viewport fill, keyboard re-pin, and safer secure fields.

Docs: Pager · Bottom Sheet · Layouts

Fixes and polish#

  • Resolve relative image src for the device under Jump (#361)
  • Enforce the wire-format contract with the pinned binaries release (#306)
  • Boot and open iOS simulators on Xcode 27 / DeviceHub (#466)

Full changelog#

  • feat: glow-* / blur-* page-bg orbs (#457)
  • Gesture pan-x + @dragEnd (#463)
  • Async tasks with UI completion callbacks (#228)
  • Auto routes/mobile.php, prefixed native routes, PHP 8.3 restored (#474, #475, #473)
  • OTA apply-on-boot; store testing-build marking (#400, #415)
  • mobile-ui: pager, sheet pane, background layer (#88, #38, #37)

Mobile changelog · mobile-ui changelog · Docs changelog

Thanks to Shane Rosenthal, Simon Hamp, and Vikas (@vikas5914).