|
2 | 2 | title: Mobile |
3 | 3 | order: 1 |
4 | 4 | --- |
5 | | - |
6 | | -# NativePHP for Mobile |
7 | | - |
8 | | -**Build native iOS and Android apps with PHP and Laravel** |
9 | | - |
10 | | -NativePHP for Mobile revolutionizes mobile development by allowing PHP developers to create native mobile applications using the languages and frameworks they already know and love. No need to learn Swift, Kotlin, or React Native - just pure PHP and Laravel. |
11 | | - |
12 | | -## What Makes NativePHP Mobile Special? |
13 | | - |
14 | | -📱**Native Performance** - Your app runs natively on device with embedded PHP runtime |
15 | | -🔥**True Mobile APIs** - Access camera, biometrics, push notifications, and more |
16 | | -⚡ **Laravel Powered** - Use your existing Laravel skills and ecosystem |
17 | | -🚫**No Web Server** - Your app runs entirely on-device |
18 | | -🔄**Cross Platform** - Single codebase for iOS and Android |
19 | | - |
20 | | -## Quick Start |
21 | | - |
22 | | -Get your first mobile app running in minutes: |
23 | | - |
24 | | -```bash |
25 | | -# Install NativePHP Mobile |
26 | | -composer require nativephp/mobile |
27 | | - |
28 | | -# Configure your app |
29 | | -php artisan native:install |
30 | | - |
31 | | -# Run your app |
32 | | -php artisan native:run |
33 | | -``` |
34 | | - |
35 | | -## Current Features (v1.1) |
36 | | - |
37 | | -**Available now:** |
38 | | -- 📷 Camera & Gallery access |
39 | | -- 🔐 Biometric authentication (Face ID, Touch ID, Fingerprint) |
40 | | -- 🔔 Push notifications via Firebase |
41 | | -- 💬 Native dialogs & toasts |
42 | | -- 🔗 Deep links & universal links |
43 | | -- 📱 NFC support |
44 | | -- 📳 Haptic feedback & vibration |
45 | | -- 🔦 Flashlight control |
46 | | -- 📤 Native sharing |
47 | | -- 🔒 Secure storage (Keychain/Keystore) |
48 | | -- 📍 Location services |
49 | | - |
50 | | -[See the complete roadmap 🗺️](/docs/mobile/1/getting-started/roadmap) |
51 | | - |
52 | | -## Documentation Sections |
53 | | - |
54 | | -### [Getting Started](/docs/mobile/1/getting-started) |
55 | | -Everything you need to start building mobile apps with PHP: |
56 | | -- [Introduction](/docs/mobile/1/getting-started/introduction) - Learn how NativePHP Mobile works |
57 | | -- [Installation](/docs/mobile/1/getting-started/installation) - Set up your development environment |
58 | | -- [Environment Setup](/docs/mobile/1/getting-started/environment-setup) - Configure iOS and Android tools |
59 | | -- [Configuration](/docs/mobile/1/getting-started/configuration) - App settings and permissions |
60 | | -- [Development](/docs/mobile/1/getting-started/development) - Development workflow |
61 | | -- [Roadmap](/docs/mobile/1/getting-started/roadmap) - Current and planned features |
62 | | - |
63 | | -### [The Basics](/docs/mobile/1/the-basics) |
64 | | -Core concepts and fundamental knowledge: |
65 | | -- [Native Functions](/docs/mobile/1/the-basics/native-functions) - Understanding sync vs async APIs |
66 | | -- [Asynchronous Methods](/docs/mobile/1/the-basics/asynchronous-methods) - Event-driven mobile development |
67 | | -- [ICU Support](/docs/mobile/1/the-basics/icu-support) - International components for Unicode |
68 | | - |
69 | | -### [Concepts](/docs/mobile/1/concepts) |
70 | | -Important concepts for mobile app development: |
71 | | -- [CI/CD](/docs/mobile/1/concepts/ci-cd) - Continuous integration and deployment |
72 | | -- [Deep Links](/docs/mobile/1/concepts/deep-links) - Universal links, app links, and NFC |
73 | | -- [Push Notifications](/docs/mobile/1/concepts/push-notifications) - Firebase Cloud Messaging setup |
74 | | -- [Splash Screen/Icons](/docs/mobile/1/concepts/splash-screen-icons) - App branding and assets |
75 | | -- [Versioning](/docs/mobile/1/concepts/versioning) - App version management |
76 | | - |
77 | | -### [APIs](/docs/mobile/1/apis) |
78 | | -Complete API reference for all native features: |
79 | | -- [Biometrics](/docs/mobile/1/apis/biometrics) - Face ID, Touch ID, fingerprint authentication |
80 | | -- [Camera](/docs/mobile/1/apis/camera) - Photo capture and gallery access |
81 | | -- [Dialog](/docs/mobile/1/apis/dialog) - Alerts, toasts, and sharing |
82 | | -- [Geolocation](/docs/mobile/1/apis/geolocation) - GPS and location services |
83 | | -- [Haptics](/docs/mobile/1/apis/haptics) - Vibration and tactile feedback |
84 | | -- [PushNotifications](/docs/mobile/1/apis/push-notifications) - FCM token management |
85 | | -- [SecureStorage](/docs/mobile/1/apis/secure-storage) - Keychain and keystore operations |
86 | | -- [System](/docs/mobile/1/apis/system) - Flashlight and legacy methods |
87 | | - |
88 | | -### [Digging Deeper](/docs/mobile/1/digging-deeper) |
89 | | -Advanced topics for production apps: |
90 | | -- [Databases](/docs/mobile/1/digging-deeper/databases) - SQLite and data management |
91 | | -- [Security](/docs/mobile/1/digging-deeper/security) - Best practices and secure storage |
92 | | - |
93 | | -## Need Help? |
94 | | - |
95 | | -- **License Required** - [Purchase your license](https://nativephp.com/mobile) to get started |
96 | | -- **Community** - Join our Discord for support and discussions |
97 | | -- **Examples** - Check out the Kitchen Sink demo app (coming soon to app stores) |
98 | | - |
99 | | -Ready to build your first mobile app with PHP? [Let's get started! 🚀](/docs/mobile/1/getting-started/introduction) |
0 commit comments