Home Screen Widgets
Neo Nos
NativePHP^3.3 || ^4.0iOS18.2+Android26+
Adds home-screen presence to your NativePHP Mobile app — real Android home-screen widgets with quick-action and capture buttons, plus iOS app-icon quick actions and badge mirroring (both beta), all driven from Laravel.
Features
- Android home-screen widget — title, content lines, badge counter, and dark mode support
- Quick-actions row — up to 4 icon+label buttons with deep-link navigation
- Capture buttons — camera, voice, and document picker actions from the widget
- iOS quick-actions menu — 3D Touch / long-press shortcuts on the app icon (beta)
- App icon badge mirroring — sync badge count to iOS (beta)
- Laravel-driven updates — update widget content from controllers, observers, or jobs
- "Add widget" prompt — built-in trigger to guide users through widget placement
- Offline rendering & empty states — graceful display when data is unavailable
- Testing support —
Widgets::fake()with assertions - Diagnostics —
php artisan widgets:doctorfor setup verification
Installation
composer config repositories.nativephp-plugins composer https://plugins.nativephp.com
composer config http-basic.plugins.nativephp.com your@email.com your-license-key
composer require all1web/nativephp-widgets
php artisan native:plugin:register all1web/nativephp-widgets
php artisan native:install android --force
Diagnostics
php artisan widgets:doctor