How nativephp/dev-null-app works
This is the Laravel-backed NativePHP mobile client for devnull, a developer social network presented as a git log. Users authenticate with a device-held SSH key, then browse and interact with commits, people, organizations, guilds, conversations, notifications, and scheduled posts through native screens backed by devnull’s signed API. The graph keeps these domain areas distinct and includes local caching, queued writes, and native calling. README and excerpts establish the client/API and selected wiring; other major screen relationships are shown only where the route index or explicit documentation supports them.
Main entry points: Client.php Signed API client · TabsLayout.php App navigation · Conversation.php Conversations · SignIn.php Sign-in flow
Components 23
Mobile app
- App navigation
app/NativeComponents/Layouts/TabsLayout.php
Identity and transport
- Sign-in flow
app/Devnull/SignIn.php - Auth callback
app/NativeComponents/AuthCallback.php - Device SSH key
app/Devnull/DeviceKey.php - Key storage
app/Devnull/KeyStores/NoSecureStorage.php - Signed API client
app/Devnull/Client.php
Social activity
- Commit log
app/NativeComponents/Log.php - Commit models
app/Devnull/Data/Commit.php - Search
app/NativeComponents/Search.php - Notifications
app/NativeComponents/Notifications.php - Organizations
app/NativeComponents/Organization.php - Guilds
app/NativeComponents/Guilds.php - Scheduled commits
app/NativeComponents/ScheduledCommits.php
Messaging and calls
- Conversations
app/NativeComponents/Conversation.php - Message models
app/Devnull/Data/Message.php - Native calling
app/NativeComponents/Call.php - Calls plugin
packages/calls/src/Calls.php
Local state
- Account cache
app/Devnull/Account.php - Response cache
app/Devnull/ResponseCache.php - Pending writes
app/Models/PendingWrite.php - Image cache
app/Devnull/ImageCache.php
Other components
- Mobile user
- devnull API
Connections 25
- Mobile user → App navigation: uses
- App navigation → Commit log: opens
app/NativeComponents/Layouts/TabsLayout.php - App navigation → Notifications: opens
app/NativeComponents/Layouts/TabsLayout.php - App navigation → Guilds: opens
app/NativeComponents/Layouts/TabsLayout.php - Mobile user → Sign-in flow: signs in
README.md - Sign-in flow → Auth callback: returns code
app/NativeComponents/AuthCallback.php - Auth callback → Signed API client: exchanges code
app/NativeComponents/AuthCallback.php - Sign-in flow → Device SSH key: proves identity
README.md - Device SSH key → Key storage: stores secret
app/Devnull/DeviceKey.php - Signed API client → devnull API: signed requests
README.md - Signed API client → Response cache: uses cache
app/Devnull/Client.php - Commit log → Signed API client: loads feed
- Commit log → Commit models: renders commits
- Search → Signed API client: searches API
app/NativeComponents/Search.php - Search → Commit models: maps results
app/NativeComponents/Search.php - Notifications → Signed API client: loads alerts
- Organizations → Signed API client: loads organization
- Guilds → Signed API client: loads guilds
- Scheduled commits → Signed API client: manages posts
- Conversations → Signed API client: loads messages
- Conversations → Message models: renders messages
- Conversations → Pending writes: queues writes
- Native calling → Calls plugin: uses native calls
- Signed API client → Account cache: updates account
- Signed API client → Image cache: loads images
app/Devnull/Client.php