tenancy/hyn-nova
Integrates Hyn multi-tenancy with Laravel Nova so each tenant gets its own isolated admin panel. Provides tenant-aware resources, middleware, and configuration, letting you manage tenants and their data safely without route or data conflicts across the application.
Architecture fit. This is thin glue between two opinionated, version-locked frameworks: Laravel Nova (a commercial admin panel) and hyn/multi-tenant (a tenant orchestration layer). It does not introduce tenancy or admin capability — it surfaces an existing tenancy model inside Nova via resources for tenants/domains. Fit is strong only if your baseline is already "hyn for tenancy, Nova for admin." For any other architecture it is a pattern reference, not a dependency.
Integration feasibility. Low-to-moderate on modern stacks. hyn/multi-tenant is effectively end-of-life (releases target the Laravel 5.5–6.x / PHP 7.x era). Nova is commercial and tightly versioned to Laravel majors. This package sits at the intersection of two version-locked, partly abandoned upstreams, so a drop-in install on Laravel 10/11 is unlikely without a fork.
Technical risk. High, from three compounding sources: (1) abandoned upstream tenancy package with stale transitive dependencies and CVE exposure; (2) Nova licensing, upgrade cadence, and resource-API churn; (3) tenant-context handling inside Nova requests — the Nova central app runs without a tenant, so every resource query must be explicit about central vs. tenant connection. Context-switch bugs here manifest as silent cross-tenant data exposure rather than visible errors.
Key questions.
hyn/multi-tenant maintained internally or forked, and who owns it?tenant_id, or DB-per-tenant — and does the toolkit handle it explicitly?Stack fit. Assumes Laravel + Nova + hyn/multi-tenant on PHP 7.x. On Laravel 10+/PHP 8.2+, treat this as a reference implementation: extract resource definitions and tenant/domain bindings rather than installing the package.
Migration path. Two clean options. (a) Already on hyn: pin versions, wrap the package, and freeze the stack. (b) On modern Laravel: reimplement the Nova resources against a maintained tenancy layer (stancl/tenancy or spatie/laravel-multitenancy), reusing this package's shape. Avoid straddling both — partial adoption is where context bugs live.
Compatibility. Lock Laravel, Nova, hyn, and PHP as a single tested set. Nova major versions break resource classes; hyn's service-provider boot order matters for tenant bootstrapping. Treat the matrix as a contract, not a guideline.
Sequencing.
Maintenance. Effectively self-maintained. Budget a named owner and expect to fork for PHP/Laravel bumps; upstream activity is minimal.
Support. Community-only at 12 stars — no vendor, low issue/PR throughput. Nova support will not cover third-party tenancy glue, and hyn maintainers are unlikely to respond. Escalation path is "we fix it."
Scaling. Admin-surface load is modest (Nova is CRUD); the real scaling concern is query patterns across tenant connections — N+1 across tenants, and central dashboards that enumerate every tenant. Multi-DB tenancy scales by adding connections; all-tenant reporting is the bottleneck.
Failure modes.
Ramp-up. Low once running; onboarding is the cost. Engineers must understand two frameworks plus the glue, and the tenant resolution rules must be documented explicitly. Realistic: a few days for a Laravel developer to be productive, materially longer to be safe with isolation.
TPM recommendation. Low strategic value, high ongoing risk surface. Adopt only if already committed to both hyn and Nova and can pin the stack; otherwise mine it for patterns and build directly on a maintained tenancy layer.
How can I help you explore Laravel packages today?