Getting started

Installation

Installation

Install Laravolt v7 into a Laravel application, publish the platform assets, run migrations, and create the first administrator account.

Requirements

Laravolt v7 targets the current Laravel and Livewire generation.

DependencyVersion
PHP>= 8.2
Laravel framework components^11.0, ^12.0, or ^13.0
Livewire^4.0
Preline UI assets4.1.2 in the current platform asset directives
Tailwind CSSv4 syntax in the current skeleton (@import "tailwindcss")
DatabaseAny database supported by Laravel migrations

Laravolt also relies on common PHP extensions: bcmath, ctype, curl, gd, json, mbstring, openssl, pdo, and xml.

Upgrading from v6?

Laravolt v6 targeted Laravel 11/12 and Livewire 3. v7 keeps Laravel component compatibility broad while moving the UI foundation to Livewire 4 and Preline/Tailwind. Review Upgrade guide before adding v7 to an existing v6 project.

Install the package

Add Laravolt to a fresh or existing Laravel application:

Bash
composer require laravolt/laravolt

Laravolt is split into small packages under the laravolt/* namespace (for example laravolt/preline-form, laravolt/suitable, laravolt/auto-crud). The main metapackage wires the service providers, migrations, and configuration together.

Run the installer

Bash
php artisan laravolt:install

The installer publishes configuration, migrations, assets, and seed data used by the platform modules.

laravolt:install currently has no flags. It publishes the skeleton, Laravolt migrations, platform assets, media-library migrations, and Pest 4 setup.

Run migrations

Laravolt ships migrations for platform tables such as users, roles, permissions, settings, jobs, media, and workflow state.

Bash
php artisan migrate

Follow normal Laravel migration practices in production: review the generated SQL, back up important data, and migrate during a safe deployment window.

Create the first admin user

Create an administrator account after the platform tables exist:

Bash
php artisan laravolt:admin

The command asks for name, email, and password when they are not provided. It also supports positional arguments for scripted provisioning; see Artisan commands and verify command help before using optional flags in CI.

Build frontend assets

Laravolt v7 uses Preline UI and Tailwind CSS for its UI foundation. Install frontend dependencies with the package manager your project uses:

Bash
# npm
npm install
npm run build
# bun
bun install
bun run build
# pnpm
pnpm install
pnpm run build

Use the same manager consistently across development and CI. The current skeleton uses Tailwind v4 syntax in resources/css/app.css; align the package manager with your application starter kit.

Project structure

A Laravolt project keeps the business application understandable by following Laravel conventions. A typical layout:

Plain Text
app/
Http/
Controllers/
Requests/ # FormRequest classes validated on the server
Models/
Policies/
Providers/
config/
laravolt/
platform.php
ui.php
menu/
system.php
resources/
views/
js/
css/
routes/
web.php
auth.php

Keep domain logic in standard Laravel locations. Use Laravolt abstractions for platform surfaces: forms (PrelineForm), tables (Suitable), menus, actions, permissions, and generated admin workflows.

Verify the installation

After installation:

  1. Visit the application in a browser.
  2. Sign in with the administrator account created above.
  3. Open the admin area and confirm the navigation renders.
  4. Create or edit a small record using a Laravolt form.
  5. Run your test suite.
Bash
php artisan test

If a step fails, check Upgrade guide for dependency notes and Artisan commands for command details.

  • AI-ready platform — the mental model for structuring v7 projects so teams and coding agents can extend them safely.
  • Forms overview — how PrelineForm turns Laravel validation and Preline UI into a single form API.
Previous
Introduction