jeffersongoncalves/mobilekit
MobileKit is a Laravel package by Jefferson Gonçalves that bundles practical mobile-focused helpers for PHP apps, making it easier to add mobile-friendly behavior and integrate mobile-oriented features with minimal setup.
Baseline. No prior assessment existed; this establishes the baseline at v3.3.56. jeffersongoncalves/mobilekit is a Laravel application-scaffolding package that pairs a Filament v3 admin panel with a NativePHP Mobile shell and ships user/admin models, Filament resources, and login wiring.
Architecture fit. Good fit where we are standardizing on Filament for back-office and want one Laravel codebase to emit a mobile artifact. Poor fit where we already own a user/auth domain or a non-Filament admin. PR #118 ("Use user/admin packages for models, resources and login") means the package now assumes its own user/admin domain rather than deferring to ours — that is the single most consequential line in this release and it landed in a patch version.
Integration feasibility. Composer-installable, dependencies track mainstream lines, CI is standardized. The caveat is categorical: this is a scaffold, not a library. The value is generated code we then own and mutate. That makes adoption a fork-and-own decision, not a versioned-dependency decision. Budget for divergence; do not assume a clean composer update path across releases like #118.
Technical risk.
pnpm overrides and patches for shell-quote and source-map-js indicate we inherit dependency drift that upstream is papering over.Key questions (answer before any commitment).
Recommendation. Pilot only, time-boxed, on a non-critical internal admin. Do not adopt as a versioned dependency on a revenue-path application. If adopted, vendor/fork at a pinned commit and own the diffs.
Stack fit. Laravel target stated as Laravel 13 (per the composer description fix — verify against composer.json requirements, not release-note prose). Filament 3.3.56, NativePHP Mobile 4.3.0, PHP 8.4 in CI. Frontend is pnpm + Vite with overrides in pnpm-workspace.yaml — we must standardize on pnpm; npm or yarn will not honor the patches. Confirm our runtime image matches PHP 8.4.
Migration path. Greenfield only. There is no migration path for an existing application: the package generates models, resources, and login. If we already have users/roles/permissions, we would be reconciling two auth domains. Sequence:
3.3.56, generate the scaffold, and diff output against our conventions.Compatibility.
3.3.56), not ^3.3. Patch releases have shipped structural changes.Sequencing. (1) toolchain reproducibility spike → (2) scaffold diff review against conventions → (3) auth/model reconciliation decision → (4) one read-only admin screen behind our SSO → (5) native build on iOS and Android → (6) go/no-go. Start with the toolchain, not the mobile build: the native build is the longest pole and the least reversible, but the auth question is the cheapest one to answer and can kill the whole initiative.
Maintenance. The dominant ongoing cost. We will own the generated application code, the pnpm overrides and patches, and the native build configuration. Budget roughly one engineer-day per upstream release for triage. This release alone contains 28 PRs, largely automated — a high-churn, low-signal stream that still requires a human to spot the one structural change buried in it.
Support. Community-only, single maintainer, no commercial support, no documented SLA. Internal implication: name an internal owner before adoption and maintain a patchable fork. The escalation path is "we fix it ourselves."
Scaling. The admin side scales like any Filament application — standard Laravel queue, cache, and database levers, nothing package-specific. The mobile side is where scaling breaks: app-store release cadence becomes a hard dependency for shipping changes, including admin-side fixes bundled into the binary. Determine early whether the Filament admin is served remotely and only the shell is native (low release coupling) or whether resources are compiled into the binary (high coupling, and a store-review bottleneck for every fix).
Failure modes and mitigations.
composer update (structural change in a patch release) → exact pin, committed lockfile, CI diff on generated code.Ramp-up. Low for the Laravel/Filament half — a competent Laravel developer is productive in days. High for the NativePHP half — native toolchain, code signing, store submission, and device/simulator debugging are a distinct skill set. Assume 2–3 weeks before one engineer is genuinely productive end-to-end, and plan for that person to be the sole owner initially. Treat that concentration as a risk to be actively managed, not an accepted baseline.
How can I help you explore Laravel packages today?