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.
| Dependency | Version |
|---|---|
| PHP | >= 8.2 |
| Laravel framework components | ^11.0, ^12.0, or ^13.0 |
| Livewire | ^4.0 |
| Preline UI assets | 4.1.2 in the current platform asset directives |
| Tailwind CSS | v4 syntax in the current skeleton (@import "tailwindcss") |
| Database | Any 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:
composer require laravolt/laravoltLaravolt 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
php artisan laravolt:installThe 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.
php artisan migrateFollow 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:
php artisan laravolt:adminThe 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:
# npmnpm installnpm run build# bunbun installbun run build# pnpmpnpm installpnpm run buildUse 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:
app/ Http/ Controllers/ Requests/ # FormRequest classes validated on the server Models/ Policies/ Providers/config/ laravolt/ platform.php ui.php menu/ system.phpresources/ views/ js/ css/routes/ web.php auth.phpKeep 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:
- Visit the application in a browser.
- Sign in with the administrator account created above.
- Open the admin area and confirm the navigation renders.
- Create or edit a small record using a Laravolt form.
- Run your test suite.
php artisan testIf a step fails, check Upgrade guide for dependency notes and Artisan commands for command details.
What to read next
- AI-ready platform — the mental model for structuring v7 projects so teams and coding agents can extend them safely.
- Forms overview — how
PrelineFormturns Laravel validation and Preline UI into a single form API.