Pages · Laravilt
Installation FAQ
Questions about requirements, frontend stacks, installing and updating Laravilt.
How do I install Laravilt?
In a Laravel 13 application:
The installer asks for your frontend stack, publishes the frontend files, runs migrations, installs and builds npm dependencies, and creates a panel. It accepts these options:
| Option | Effect |
|---|---|
--stack=vue|react | Choose the stack without prompting |
--skip-migrations | Don't run migrations |
--skip-npm | Don't run npm install / build |
--skip-panel | Don't create a panel |
See Installation for the full walkthrough.
What are the requirements?
| Requirement | Version |
|---|---|
| PHP | 8.3+ |
| Laravel | 13 |
| Node.js | 20.19+ (required by Vite) |
| Composer | 2.x |
| Database | Any database Laravel supports (MySQL, MariaDB, PostgreSQL, SQLite, SQL Server) |
See Requirements.
Can I use React instead of Vue?
Yes. Laravilt supports Vue 3 (shadcn-vue / Reka UI) and React 19 (shadcn/ui / Radix UI). Both use Inertia and Tailwind CSS v4.
React support requires Laravilt v1.1 or later.
Choose with php artisan laravilt:install --stack=react. The choice is stored as LARAVILT_FRONTEND=react in .env, and generators such as laravilt:page then create .tsx files. See Frontend Stacks and Frontend (Vue & React).
Can I switch stacks later?
Change LARAVILT_FRONTEND and re-run php artisan laravilt:install --stack=<stack> so that the matching package.json, Vite config, entry point, layouts and components get published. The installer overwrites these frontend files, so commit first and move any custom pages over by hand.
How do I update Laravilt?
There is no separate upgrade command. If a release changes the published shell files (layouts, components/ui, lib/utils.ts), republish only what you haven't customized, for example php artisan vendor:publish --tag=laravilt-panel-ui --force. See Upgrade Guide.
How do I create another panel?
A panel is a PanelProvider:
See Creating Panels and Auth.
How do I change the colors?
For deeper changes, edit the CSS variables in resources/css/app.css. See Branding and Styling & Theming.
How do I republish frontend files?
Use the specific package tags. There is no laravilt-assets tag. For the panel:
Run php artisan vendor:publish without arguments to list all tags.
Is there a demo?
Yes: demo.laravilt.com (login [email protected] / password).