nativephp/superstack
NativePHP Superstack bundles NativePHP with Laravel, Livewire, and Tailwind into a ready-to-use starter kit for building native desktop apps with familiar PHP tooling, sensible defaults, and preconfigured build tooling.
Architecture fit
nativephp/superstack is a starter application, not a composable library. Adopting it means forking a Laravel skeleton that bundles three distinct capability layers:
| Layer | What it gives you | Maturity signal |
|---|---|---|
| Laravel + Filament | Server-side app framework and an admin/CRUD panel | Mature, widely adopted, versioned releases |
| NativePHP "SuperNative" | Runtime/packaging that ships the PHP app as a native desktop (and reportedly mobile) binary | Pre-1.0 ecosystem, moving target; verify exact runtime and platform matrix |
| MCP | Model Context Protocol surface exposing app capabilities to AI agents/clients | Young spec, fast-moving, security-sensitive |
Laravel Boost (AGENTS.md) |
Dev-only agent guidance bootstrap installed via Composer | Low risk, dev dependency only |
The architectural consequence is that your product's foundation is the fork, not a dependency. Every future Laravel, Filament, or NativePHP upgrade becomes a manual merge decision rather than a composer update. That is acceptable for a greenfield product where you intend to own the codebase outright; it is a poor fit where you expected to consume this as a versioned package.
Fit is strongest for: single-tenant internal tools, desktop-shipped operational apps, admin-heavy back-offices, and AI-agent-driven workflows where MCP is a genuine product requirement rather than a checkbox. Fit is weakest for: multi-tenant SaaS, regulated environments needing vendor support/SBOM provenance, and teams without desktop release engineering experience.
Integration feasibility
Low technical barrier, moderate organisational barrier. A Laravel team can clone, composer install, and have Filament running in under a day. The real cost sits in three places:
git pull from upstream produces conflicts across composer.json, config, migrations, and Filament resources.Technical risk
Key questions
Stack fit
Strong if you are already a Laravel/PHP shop with Filament familiarity — you inherit conventions, Eloquent, policies, queues, and the existing talent pool. The PHP-only proposition (no JS/Electron split, no separate desktop stack) is the package's core economic argument and it holds for CRUD-shaped products. It fits poorly where the UI demands heavy client-side interactivity, real-time collaboration, or where the team's centre of gravity is TypeScript.
Migration path
Treat this as greenfield fork-and-own, not incremental adoption into an existing app. Recommended shape:
FORK.md documenting what you changed and why, and a policy that all local modifications are isolated (custom Filament resources, service providers, config overrides) to reduce future merge surface.Compatibility
AGENTS.md/Laravel Boost bootstrap pins PHP 8.5 tooling in its install instructions; verify your CI images and developer machines can meet that, or the agent-assist workflow will fail on first run.Sequencing
Maintenance
Ongoing maintenance load is materially higher than a normal Composer dependency, because you inherit ownership of the entire application shell plus a desktop distribution channel. Recurring obligations:
Support
Support surface expands from "the web app" to "the installed app on an unknown OS version." Expect OS-update breakages, antivirus and SmartScreen false positives, and installation/permissions tickets. You will need per-platform reproduction environments — a support cost teams routinely underestimate. There is no upstream vendor to escalate to; community channels only.
Scaling
Failure modes
| Failure | Impact | Mitigation |
|---|---|---|
| Code-signing cert expiry / notarization rejection | Release blocked entirely | Calendar alerts, dry-run release in CI weekly |
| NativePHP runtime incompatible with new OS release | Installed base breaks on upgrade | Pin OS support matrix, staged rollout, rollback channel |
| Upstream security fix never merged into fork | Silent vulnerability | Scheduled upstream triage, dependency scanner on lockfile |
| Filament major version out of sync with Laravel | Upgrade deadlock | Upgrade both together, budget a dedicated sprint |
| SQLite contention/corruption on desktop | Data loss | WAL mode, integrity checks, local backup/export |
| Auto-update channel compromise | Remote code execution on user machines | Signed update manifests, key custody, staged rollout |
| MCP tool invoked beyond intended scope | Privilege escalation / data exfiltration | Per-tool authz, allowlists, audit log, feature flag |
| Fork divergence makes upstream merges infeasible | Permanent loss of upstream fixes | Isolate changes, document in FORK.md, review at each rebase |
Ramp-up
Fast for the Laravel/Filament layer — a competent Laravel developer is productive within days. Slow for the two novel layers:
The AGENTS.md/Laravel Boost bootstrap is a genuine onboarding accelerant for AI-assisted development, but it also means agent-generated code becomes part of the review surface — ensure human review gates on anything touching auth, policies, MCP tool definitions, or the release pipeline.
Recommendation. Adopt as a greenfield foundation for a single-tenant, admin-heavy, desktop-shipped product, with explicit fork ownership and the desktop pipeline de-risked in week one. Do not adopt if you need multi-tenant SaaS, vendor-backed support, or a low-maintenance dependency you can upgrade on rails — in those cases, take Filament and NativePHP individually and leave the starter behind.
How can I help you explore Laravel packages today?