Skip to content

A modern Laravel Admin Panel built with Vue 3, Inertia.js, and AI capabilities. Inspired by Filament but powered by the frontend.

License

Notifications You must be signed in to change notification settings

kazimolmez/laravilt

 
 

laravilt

Laravilt

A modern Laravel Admin Panel built with Vue 3, Inertia.js, and AI capabilities. Inspired by Filament but powered by the frontend.

Latest Stable Version License Downloads Dependabot Updates PHP Code Styling Tests

Features

  • Modern Stack: Laravel 12, Vue 3, Inertia.js v2, Tailwind CSS v4
  • Beautiful UI: Built on shadcn/vue and Reka UI components
  • AI Integration: Multi-provider AI support (OpenAI, Anthropic, Gemini)
  • Global Search: AI-powered search across all resources
  • Rich Form Builder: 30+ field types with validation
  • Powerful Tables: Sorting, filtering, bulk actions, exports
  • Notifications: Real-time in-app notifications
  • Widgets: Dashboard widgets with charts and stats
  • Multi-tenancy: Built-in tenant support
  • Authentication: Multiple auth methods (passwords, social, passkeys)
  • RTL Support: Full right-to-left language support
  • Dark Mode: System-aware theming

Screenshots

Dashboard & Widgets

Dashboard Widgets Dashboard Light Mode

Products Management

Table View & CRUD Operations

Products Table Create Product
Edit Product View Product

Grid Views

Products Grid Grid with Badges
Grid with Filters Grid Toggle View
Grid Sorting Simple Resource

Grid Simple Card

Customers Grid

API & Endpoints

API Products List API Response
API Get One API Customers Create
API Create

AI Chat

AI Chat Interface AI Resource Mention
AI Conversation Global Search with AI

Authentication

Login & Registration

Login Register
Forgot Password

Two-Factor Authentication

2FA Active 2FA Settings
2FA QR Code 2FA Setup
2FA QR Code Scan 2FA Recovery Codes
2FA Verify 2FA Challenge
2FA Authenticator 2FA Recovery
2FA Success 2FA Disable Modal

Settings

Profile & Security

Profile Settings Password Settings
Browser Sessions Connected Accounts

Passkeys

Passkeys Register Passkey
Save Passkey

API Tokens

API Tokens List Create Token
API Tokens API Token Empty State
Revoke Confirm Revoke Tokens

Preferences & Localization

Language & Timezone

Global Features

Search & Navigation

Global Search Search Results
User Menu

Notifications

Notifications

Modals & Dialogs

Delete Confirmation

Documentation

Complete technical documentation for all Laravilt packages:

Getting Started

Core Packages

Supporting Packages

Advanced Features

  • AI Package - AI integration

    • Multi-provider support (OpenAI, Anthropic, Gemini, DeepSeek, Perplexity)
    • Real-time streaming
    • Tool calling and function execution
    • Global search with AI
    • Chat interface with session management
  • Plugins - Plugin system

    • Creating plugins
    • Plugin components
    • Auto-discovery
    • MCP integration for AI-assisted development

Included Packages

This meta-package includes all Laravilt components:

Package Description Documentation
laravilt/support Core utilities and helpers Docs
laravilt/panel Admin panel core framework Docs
laravilt/auth Authentication system Docs
laravilt/forms Form builder with 30+ fields Docs
laravilt/tables Table builder with actions Docs
laravilt/actions Action system for CRUD Docs
laravilt/schemas Schema definitions Docs
laravilt/infolists Information display lists Docs
laravilt/notifications Notification system Docs
laravilt/widgets Dashboard widgets Docs
laravilt/query-builder Query building utilities Docs
laravilt/ai AI assistant integration Docs
laravilt/plugins Plugin system & generators Docs

Requirements

  • PHP 8.3+
  • Laravel 12+
  • Node.js 18+
  • npm or pnpm

Installation

composer require laravilt/laravilt

Run the installer:

php artisan laravilt:install

This will:

  • Publish all configurations
  • Run migrations
  • Setup frontend assets
  • Clear caches

Create Admin User

php artisan laravilt:make-user

Quick Start

1. Create a Panel

php artisan laravilt:panel admin

2. Create a Resource

php artisan laravilt:resource User --generate

This generates a complete CRUD resource with:

  • Resource class
  • Form definition
  • Table definition
  • List, Create, Edit, View pages

3. Configure the Panel

// app/Providers/Laravilt/AdminPanelProvider.php
use Laravilt\Panel\Panel;

class AdminPanelProvider extends PanelProvider
{
    public function panel(Panel $panel): Panel
    {
        return $panel
            ->id('admin')
            ->path('admin')
            ->login()
            ->colors([
                'primary' => '#3b82f6',
            ])
            ->discoverResources(in: app_path('Laravilt/Admin/Resources'))
            ->discoverPages(in: app_path('Laravilt/Admin/Pages'))
            ->globalSearch()
            ->aiProviders(fn ($ai) => $ai
                ->openai()
                ->anthropic()
            );
    }
}

CLI Commands

Panel Management

  • laravilt:panel {name} - Create a new panel
  • laravilt:page {name} - Create a panel page
  • laravilt:cluster {name} - Create a page cluster

Resource Management

  • laravilt:resource {name} - Create a resource
  • laravilt:relation {name} - Create a relation manager

Plugin Development

  • laravilt:plugin {name} - Create a new plugin
  • laravilt:component {name} - Generate plugin components
  • laravilt:make {type} - Generate Laravel components in plugin

System

  • laravilt:install - Install/update Laravilt
  • laravilt:make-user - Create admin user

Configuration

Publish the configuration:

php artisan vendor:publish --tag=laravilt-config

Key configuration options in config/laravilt.php:

return [
    'user_model' => App\Models\User::class,
    'path' => 'admin',
    'guard' => 'web',
    'locale' => 'en',
    'locales' => ['en' => 'English', 'ar' => 'Arabic'],
    'dark_mode' => true,
    'features' => [
        'ai_assistant' => true,
        'global_search' => true,
        'notifications' => true,
    ],
    'ai' => [
        'provider' => env('LARAVILT_AI_PROVIDER', 'openai'),
        'model' => env('LARAVILT_AI_MODEL', 'gpt-4'),
    ],
];

Form Fields

Available form field types:

  • Text, Textarea, RichEditor, MarkdownEditor
  • Number, Currency, Percent
  • Select, MultiSelect, Radio, Checkbox
  • Toggle, Switch
  • DatePicker, DateTimePicker, TimePicker, DateRangePicker
  • FileUpload, ImageUpload
  • ColorPicker, IconPicker
  • Repeater, Builder, KeyValue
  • Code Editor, JSON Editor
  • Tags, Rating, Slider
  • And more...

Table Features

  • Sortable columns
  • Searchable columns
  • Filterable with custom filters
  • Bulk actions
  • Row actions
  • Export to CSV/Excel
  • Pagination with per-page options
  • Sticky header support
  • Column visibility toggle

AI Features

Global Search

AI-enhanced search across all registered resources.

AI Chat

Built-in chat interface supporting:

  • OpenAI (GPT-3.5, GPT-4, GPT-4o)
  • Anthropic (Claude 3, Claude 3.5)
  • Google Gemini

Configure providers in .env:

OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...
GOOGLE_AI_API_KEY=...

Testing

composer test

Code Style

composer format

License

The MIT License (MIT). See License File for more information.

Credits

About

A modern Laravel Admin Panel built with Vue 3, Inertia.js, and AI capabilities. Inspired by Filament but powered by the frontend.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%