We have been building Primix for a while now, and the alpha release is around the corner. This article explains what Primix is, how it works, and why we think it fills a gap in the Laravel ecosystem.
What is Primix?
Primix is a modular admin panel framework for Laravel. You define resources, forms, tables, and actions using a fluent PHP API, and Primix turns them into fully interactive Vue 3 interfaces — powered by LiVue under the hood.
php artisan make:primix-resource Post --generate
That single command scaffolds a complete CRUD resource: form, table, detail view, and pages. From there, you customize with PHP builders.
Built on LiVue and Vue 3
This is what makes Primix different from existing admin panels. Instead of Alpine.js or jQuery, Primix renders its UI through LiVue — which means every component is a real Vue 3 component with full reactivity.
What this gives you in practice:
- PrimeUI components (DatePicker, Select, DataTable) work natively — no wrapper hacks
- Tailwind CSS for styling, with deep customization via PassThrough and Style APIs
- Template swapping instead of DOM morphing — third-party widgets and rich editors stay intact
- On-demand asset loading — each package loads its JS/CSS only when rendered, not upfront
Modular by design
Primix is not a monolith. It is a set of 8 independent packages:
| Package | What it does |
|---|---|
| Forms | Fluent form builder with fields, layouts, tabs, sections, wizards |
| Tables | Data tables with columns, filters, sorting, pagination, bulk actions |
| Actions | Single and bulk actions with modals, confirmations, and embedded forms |
| Details | Read-only data display (TextEntry, BooleanEntry, ColorEntry, etc.) |
| Widgets | Dashboard widgets: stats, charts, meters, progress bars, table widgets |
| Notifications | Flash and persistent database notifications |
| Multi-Tenant | Column-based, database-per-tenant, or schema-per-tenant strategies |
| Support | Shared foundation: icons, themes, auto-discovery, asset management |
You can install the full framework with composer require primix/primix, or pick individual packages if you only need forms or tables in an existing project.
Zero-configuration discovery
Primix auto-discovers your resources, pages, and widgets. Create a resource class, and it shows up in the panel — no manual registration, no config files. The same applies to form fields, table columns, filters, and actions: they are discovered via class-level metadata.
Panels and resources
A Panel is a self-contained admin section (e.g. /admin, /dashboard) with its own authentication, sidebar, and routing. A Resource ties a model to its form, table, and detail views.
php artisan make:primix-panel Admin
php artisan make:primix-resource Post --generate
Built-in features include:
- Authentication pages (login, registration, password reset)
- Sidebar navigation with automatic resource grouping
- Breadcrumb navigation
- Dashboard with composable widgets
- Relation managers for nested resources
- Custom pages when you need something beyond CRUD
Performance: load what you use
Most admin panels ship a single large JavaScript bundle. Primix takes a different approach: each package registers its own assets, and they are loaded on demand through LiVue's @livueLoadScript and @livueLoadStyle directives.
If a page only renders a form, only the form assets are loaded. If it renders a table with actions, those assets are added. Nothing else. This keeps initial page loads fast and scales better as the panel grows.
Multi-tenancy built in
The primix/multi-tenant package supports three isolation strategies:
- Single database — tenant scoping via a column (e.g.
tenant_id) - Multi database — separate database per tenant
- Schema — separate PostgreSQL schema per tenant
Tenancy integrates directly with the panel system. Add the HasTenantPanel trait and your panel becomes tenant-aware.
Alpha Notice — Primix is in active development. The API is not frozen: breaking changes will happen between now and the beta. Method signatures, package contracts, and features may change based on early adopter feedback. This is by design — we would rather break things now than lock in an API we regret later. The architectural foundation (LiVue-powered, modular packages, auto-discovery) and core concepts (Resources, Panels, Schema builders) are set, but their surface API may evolve. We will document every breaking change and provide migration guidance, but smooth automatic upgrades are not guaranteed until the beta stabilizes the public API. Adopt the alpha with that expectation.
Stay tuned
The Primix alpha will be available soon. If you are already using LiVue, Primix is the natural next step for building admin interfaces. If you are evaluating options for your next Laravel admin panel, we think Primix offers something genuinely different: a modern, Vue 3-powered architecture that does not compromise on developer experience.
We will share installation instructions and early access details here when the alpha drops.