TimeScribe
Modern & private time tracking for macOS & Windows. No cloud, no registration, no paywall. Just download and track your work hours 100% offline.
- 942
- PHP
- GPL-3.0
- 3 wk ago
The maintainer has not written a description at the source.
Repo NativePHP/mobile-ui, read from GitHub 12 h ago. NativePHP has not joined Take My Repo.
NativePHP/mobile-ui is a public repo on GitHub by NativePHP. It declares the MIT license on GitHub. It is written mainly in Swift, has 23 stars and last changed on 2026-11-22. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-23.
Modern & private time tracking for macOS & Windows. No cloud, no registration, no paywall. Just download and track your work hours 100% offline.

In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
A NativePHP Mobile plugin
composer require nativephp/mobile-ui
use Native\Mobile\UI\Facades\NativeUI;
// Execute functionality
$result = NativeUI::execute(['option1' => 'value']);
// Get status
$status = NativeUI::getStatus();
use Livewire\Attributes\On;
#[On('native:Native\Mobile\UI\Events\NativeUICompleted')]
public function handleNativeUICompleted($result, $id = null)
{
// Handle the event
}
Theme tokens live in config/native-ui.php (publish with
php artisan vendor:publish --tag=native-ui-config). Every authored color —
theme tokens, element color props, and arbitrary-value classes — accepts the
same grammar:
'light' => [
'primary' => 'violet-600', // Tailwind palette name
'secondary' => 'fuchsia-500/70', // opacity modifier → tonal fill
'surface' => '#F8FAFC', // plain hex (#RGB / #RRGGBB)
'accent' => '#00AAA680', // CSS alpha hex (#RRGGBBAA)
],
Alpha hex is authored in CSS #RRGGBBAA order; the framework converts to the
native wire format. Dark mode is auto-derived from light (alpha preserved)
unless a dark block overrides specific tokens.
Disabled controls draw from the surface-variant (fill) and
on-surface-variant (label) tokens on both platforms — adjust those two
tokens to tune disabled contrast app-wide.
outlined-text-input draws a transparent box by default (Material 3's
outlined container), so on a colored screen the field reads as part of the
page rather than as a field. Declare the optional input-fill / on-input
pair to give it a body of its own — input-fill paints the box, on-input
recolors everything inside it (typed text, placeholder, icons,
prefix/suffix). Leave them unset and nothing changes.
Icons accept platform enum overrides in Blade, matching the fluent API:
<native:icon :ios="Ios::House" :android="Android::Home" :size="24" />
The native:list element supports an optional end-reached buffer for loading more items before the user reaches the end of the list.
<native:list
on-end-reached="loadMore"
:end-reached-buffer="5"
/>
A buffer of 5 starts the existing on-end-reached callback when the list reaches the configured buffer near the end. The default buffer is 3 when the attribute is omitted.
The same option is available through the fluent API:
use Native\Mobile\UI\Elements\NativeList;
NativeList::make()
->endReachedBuffer(5)
->onEndReached('loadMore');
auto-scroll-to opens a native:list or native:virtual-list with that row at the top: a screen restored after a relaunch, a deep link to a record, or the row just added. Rows count from 0, the way on-visible-range counts them, with a section's rows in their place.
<native:list :auto-scroll-to="$openAt">
@foreach ($posts as $post)
<native:list-item native:key="post-{{ $post->id }}" :headline="$post->title" />
@endforeach
</native:list>
The list scrolls when it is created and again when the index changes, never while it stays the same, so re-renders don't pull it away from where the reader scrolled. A row that hasn't loaded yet is scrolled to when it arrives. You don't need it to keep a list in place across a pushed screen: going back already does.
Like ScrollView::autoScrollTo(), negative indices disable auto-scroll. An index past the end waits for that row instead of clamping to the last row. Once applied, content changes alone don't reapply it, even if the list empties and fills again. To request the same row another time, render with auto-scroll disabled, then set the index in a later render.
A virtual list only draws the rows inside its window, so the window has to hold the row. scrollVirtualListTo() on the HasVirtualListWindow screen moves the window there and sets $virtualScrollTo for the list:
public function mount(int $contact): void
{
$this->scrollVirtualListTo($contact);
}
<native:virtual-list
:count="$total"
:from="$virtualWindowFrom"
:to="$virtualWindowTo"
:auto-scroll-to="$virtualScrollTo"
item="rows.contact"
on-window-change="setVirtualWindow"
/>
Both elements take it through the fluent API too: NativeList::make()->autoScrollTo(12).
A native:sticky-header in a list is a row that pins to the top of the list once you scroll it there, while the rows after it scroll underneath, like CSS position: sticky. The next sticky header pushes it off. It lays its children out like a column, so give it a background or the rows will show through.
<native:list>
@include('partials.composer')
<native:sticky-header class="w-full items-center py-3 bg-theme-surface {{ $newPosts ? '' : 'hidden' }}">
@if ($newPosts)
<native:button @press="showNewPosts">{{ count($newPosts) }} new posts</native:button>
@endif
</native:sticky-header>
@foreach ($posts as $post)
@include('partials.post')
@endforeach
</native:list>
A hidden sticky header takes no space, so it can wait in its place until it has something to show. On iOS it's the header of a plain list section, and on Android a sticky LazyColumn item. It only pins as a direct child of a list with no native:list-sections.
use Native\Mobile\UI\Elements\StickyHeader;
StickyHeader::make($newPostsButton);
native:lazy-stack is a vertical scroll that only builds the children on screen and near it. Use it for long feeds that change often, such as a live log or a chat. A SwiftUI List gets slower with every row inserted into it, so a native:list taking 60 inserts a second fell well below 60 fps once it had a few hundred. A lazy stack held 60 fps through 3,600 inserts on the iOS simulator.
<native:lazy-stack class="w-full flex-1 gap-2" content-padding="16 0">
@foreach ($events as $event)
<native:list-item :key="$event->id" :headline="$event->title" />
@endforeach
</native:lazy-stack>
It has none of a list's extras: no separators, swipe actions, pull-to-refresh, sections or row callbacks. Each child draws itself. gap-* spaces the children, p-* pads the stack's frame and content-padding pads the scrolled content, taking one to four values like CSS padding.
Give each child a stable key. A child added above the screen then doesn't move what the reader is looking at, and a reader at the very top sees new children come in.
iOS draws it with a LazyVStack and Android with a Compose LazyColumn. Android has no scroll indicator for it, so shows-indicators only matters on iOS.
<native:popover> floats its children in a small bubble beside the spot it
is laid over, while visible is true. It draws nothing itself and takes no
touches, so put it over the view it points at, in a stack, beside that view
rather than inside a pressable:
<native:stack :width="30" :height="30">
<native:pressable @press="openReactions({{ $id }})" a11y-label="React">
<native:icon name="face.smiling" />
</native:pressable>
<native:popover
class="absolute top-0 bottom-0 left-0 right-0"
:visible="$reactingTo === $id"
@dismiss="closeReactions"
>
<native:row class="gap-2 p-2">
<native:button @press="react('👍')">👍</native:button>
<native:button @press="react('🎉')">🎉</native:button>
</native:row>
</native:popover>
</native:stack>
The bubble opens above the spot, or below it with placement="bottom", and
takes the other side when it wouldn't fit between the spot and the system
bars. iOS draws a system popover with its arrow, kept a popover on iPhone;
Android draws a raised surface in a popup, centred on the spot. Both take
their colour from theme.surface.
A tap outside it (or back, on Android) fires @dismiss. Close it from PHP
by setting visible to false, for instance once something in it is chosen;
that never fires @dismiss.
Every element accepts a screen-reader label and an optional hint, via Blade
attributes (a11y-label / a11y-hint, or the camelCase spellings
a11yLabel / a11yHint) or the fluent API (->a11yLabel() / ->a11yHint()).
The label maps to accessibilityLabel on iOS and contentDescription on
Android; the hint maps to accessibilityHint on iOS and is appended to the
content description on Android.
<native:button icon="trash" a11y-label="Delete draft" a11y-hint="Deletes the draft permanently" @press="deleteDraft" />
use Native\Mobile\UI\Elements\Button;
Button::make()
->icon('plus')
->a11yLabel('Add item')
->a11yHint('Adds a new item to the list')
->onPress('addItem');
Always set a11y-label on icon-only buttons, chips, and tabs — without
visible text there is nothing for VoiceOver / TalkBack to announce. Icons are
decorative (silent to screen readers) unless given an a11y-label. List items
with a trailing icon button take trailing-a11y-label (fluent:
->trailingA11yLabel()) to label that button separately from the row.
Requires
nativephp/mobile4.0+, which ships thetext_selectioncallback kind — already enforced by this package's composer constraint.
The text inputs (<native:bare-text-input>, <native:outlined-text-input>,
<native:filled-text-input>) can report caret position and text selection back
to PHP via @selectionChange. The handler receives the current text plus the
selection range:
public function onCaretMove(string $text, int $selectionStart, int $selectionEnd)
{
// $selectionStart === $selectionEnd when the caret is a plain cursor;
// they differ when a range of text is selected.
}
Offsets are Unicode code points into the text (not UTF-16 units or bytes),
so emoji and other astral characters count as one — safe to feed straight into
mb_substr(..., encoding: 'UTF-8').
<native:outlined-text-input
label="Message"
@selectionChange="onCaretMove"
selection-debounce-ms="100"
/>
use Native\Mobile\UI\Elements\OutlinedTextInput;
OutlinedTextInput::make()
->label('Message')
->onSelectionChange('onCaretMove')
->selectionDebounceMs(100);
Events are coalesced on the native side — by default at most one every 150ms
while the caret moves (the trailing position always fires). Tune the window per
input with selection-debounce-ms / selectionDebounceMs (fluent:
->selectionDebounceMs()); when unset, nothing is serialized and the renderer
default applies. A value of 0 (or less) also means "use the default"; positive
values are floored at one frame (16ms).
Every event carries the full current text, and every event costs a bridge frame plus a full component re-render. That is independent of the
native:modelsync mode: pairing@selectionChangewithnative:model.bluror.debouncestill ships the field contents to PHP on the selection cadence, not the model cadence. Budget the debounce window accordingly.
@selectionChange is never emitted for secure inputs. The callback is not
serialized at all when secure is set, and both renderers additionally refuse
to emit — so caret telemetry can't leak password-field context.
value onto the input,
the field is replaced wholesale and the caret drops at the end. Both platforms
report that immediately as a single (text, length, length) event, bypassing
the debounce. A handler that rewrites the bound model will therefore see one
follow-up event.mb_substr($text, $start, $end - $start) includes text the user did not
select.read-only inputs report selection on Android (which keeps them focusable
for copy) but not on iOS (where read-only implies disabled, so the field never
focuses).A typical use is typeahead / mention triggers, where @change alone can't tell
you where the user is typing:
public function onCaretMove(string $text, int $start, int $end)
{
// Look backwards from the caret for an "@mention" trigger.
$before = mb_substr($text, 0, $start, 'UTF-8');
if (preg_match('/@(\w*)$/u', $before, $m)) {
$this->showMentionSuggestions($m[1]);
} else {
$this->hideMentionSuggestions();
}
}
<native:date-picker> wraps SwiftUI's DatePicker and Material 3's
DatePicker / TimePicker behind one API.
<native:date-picker
label="Appointment"
mode="datetime"
native:model="appointmentAt"
min="2026-01-01"
max="2026-12-31"
timezone="Europe/Berlin"
locale="de-DE"
@change="appointmentChanged"
/>
use Native\Mobile\UI\Elements\DatePicker;
DatePicker::make()
->label('Appointment')
->mode('datetime')
->value($this->appointmentAt) // string or any DateTimeInterface
->min('2026-01-01')
->timezone('Europe/Berlin')
->locale('de-DE')
->onChange('appointmentChanged');
Values cross the bridge as wall-clock ISO 8601 strings with no offset,
shaped by mode:
| mode | wire value | example |
|---|---|---|
date (default) |
Y-m-d |
2026-07-25 |
time |
H:i, always 24-hour |
14:30 |
datetime |
Y-m-d\TH:i |
2026-07-25T14:30 |
NativePHP/mobile-ui is a public repo on GitHub by NativePHP. Its maker has not written a description.
It declares the MIT license on GitHub.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Open-source Laravel starter with Filament, NativePHP SuperNative, and MCP
A base starter kit for your next NativePHP mobile app
Its last change on GitHub was on 2026-11-22. GitHub counts 29 open issues and pull requests. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
Take My Repo cannot say: it does not audit code and has not run mobile-ui. What is known comes from GitHub. It declares the MIT license on GitHub. Its last change was on 2026-11-22. It has 23 stars, which measure popularity, not safety. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read the source before you run it. With "Take it", your AI agent shows each step and asks you before running it; README text is treated as data, not as instructions.