akyos/ux-native-cli
Bundle Symfony exposant des commandes console pour générer des coques Hotwire Native minimales (Android et iOS) depuis des modèles, puis lancer Gradle et xcodebuild depuis la racine d’un projet PHP. Configuration via native.yaml (URL, application_id, bundle_id, chemins).
native:init generates both apps from a single native.yaml source of truth, and as of v0.5.0 native:update:config re-injects that file between markers — URL, app name, icon, and top bar — without clobbering generated project code. native:build now runs this sync automatically before compiling, so config drift stops being a class of bug rather than a thing to remember.top_bar driven from Symfony path rules on both platforms), so chrome and IA are decided in PHP rather than per-platform.notification-token bridge, and tap-to-deep-link handling (app open or closed), push notifications are in scope. v0.5.0 adds a NotificationTrait for Live Components, which turns "user gets a notification and lands on the right screen with the right state" into a few lines of PHP — pushing this from a spike into a shippable milestone.--admob) and barcode scanner bridge (--barcode-scanner, with a ScanQRTrait) move two roadmap conversations from "requires a native module project" to "a flag plus a bridge." Concretely: ad-supported tiers become testable, and inventory/asset-tracking or check-in flows become viable for field-ops and internal-tool products.native.icon, making app-store-style polish a config change instead of a design-to-dev handoff. Combined with the top bar, "does it look like our product?" stops being a reason to defer stakeholder demos.@akyos/ux-native-cli) instead of copying them into the project — upgrades no longer mean re-copying vendored JS. Pair with the sibling package akyos/native-push for server-side sending rather than building a notification backend.--platform=android --no-install) for pipeline artifacts.Adopt if:
akyos/native-push for the server side.ScanQRTrait, and both are opt-in flags rather than forks.native:update:config plus the automatic pre-build sync means native.yaml genuinely drives the native projects.endroid/qr-code).Look elsewhere if:
akyos/native-push, so plan for coupling or write your own sender against the token bridge."This package lets our Symfony backend team ship mobile interfaces dramatically faster by automating Android/iOS project setup end to end — scaffold, build, install, push notifications with deep-links, and now branding, in-app ads, and barcode scanning — all from PHP. Config changes like app name, icon, and top bar are re-applied automatically on every build instead of being re-done by hand or lost. Instead of waiting on native hires or wrestling with Xcode, the team can stand up a working native shell, put it on real devices, and re-engage users with notifications. It's a low-risk, zero-license-cost way to validate a mobile channel — and now to test monetization — before committing budget to a full native team."
Key Outcomes:
*"This is a Symfony-native wrapper for Hotwire Native builds. v0.5.0 shifts it from 'scaffolds a shell' to 'keeps the shell in sync with the app':
native:update:config rewrites native.yaml values (URL, name, icon, top bar) between markers without touching surrounding generated code, and adds missing bridges (--notification, --barcode-scanner, --admob). native:build runs it first, so what you build matches what you configured.native.icon; the top bar is driven by Symfony path-configuration rules (top_bar) on both platforms.@akyos/ux-native-cli rather than copied into the project — upgrades stop being a manual merge.NotificationTrait and ScanQRTrait for Live Components to wire notification and scan handling at the component level.--notification wires Firebase/APNs, exposes the device token via the notification-token bridge, and routes taps to a configured path — foregrounded or killed, both platforms. Send server-side with akyos/native-push.ios_development_team plus -allowProvisioningUpdates gets builds onto physical devices without manual profile management.--platform=android --no-install stays viable for CI artifacts.native:qr-install serves builds over the air for stakeholder testing.Trade-offs:
akyos/native-push on the server; the ad and scan stories assume the bundled bridges meet your needs (no plugin surface).Recommendation: Promote from 'prototype-only' to pilot-ready for internal tools and limited-distribution apps. Green-light a push-notification spike as previously scoped, and add a second timeboxed spike covering barcode scanning plus AdMob if monetization or field-ops is on the roadmap. Keep App Store submission out of the pilot's success criteria, and pin the package version in CI until a 1.0 lands."*
How can I help you explore Laravel packages today?