actions
Complete action system for Laravilt — buttons, modals, confirmations, forms inside actions, and row and bulk actions for tables.
composer require laravilt/actionsStars0
LanguageHTML
LicenseMIT
Last push2026-09-14
Readme

Laravilt Actions
Complete action system with modal support, authorization, and Inertia.js integration for Laravilt. Build interactive UI components with buttons, links, and icon buttons. Includes confirmation modals, custom forms, password protection, and secure token-based execution.
Features
- 🎨 Multiple Variants - Button, link, and icon button styles
- 🔒 Authorization - Closure-based authorization with record-level checks
- 📊 Modal Support - Confirmation modals, custom forms, slide-overs
- 🎯 Flexible Configuration - Colors, icons, sizes, tooltips
- 🔗 URL Handling - External URLs, internal actions, new tab support
- ⚡ Inertia Integration - Seamless Vue 3 integration
- 📤 Export/Import - Excel/CSV export and import with Laravel Excel
- 🔄 Soft Delete Support - Built-in restore and force delete actions
Action Types
| Type | Description |
|---|---|
Action | Standard action button |
BulkAction | Action for multiple selected records |
ViewAction | Navigate to view page |
EditAction | Navigate to edit page |
DeleteAction | Soft delete record |
CreateAction | Navigate to create page |
ReplicateAction | Duplicate a record |
RestoreAction | Restore soft-deleted record |
ForceDeleteAction | Permanently delete record |
ExportAction | Export data to Excel/CSV |
ImportAction | Import data from Excel/CSV |
DeleteBulkAction | Bulk soft delete |
RestoreBulkAction | Bulk restore |
ForceDeleteBulkAction | Bulk permanent delete |
Colors
php
Modal Types
php
Installation
bash
The package will automatically register its service provider.
Quick Start
php
Export & Import
php
Soft Delete Actions
php
Replicate Action
php
Generator Commands
bash
Documentation
- Complete Documentation - Full feature guide, API reference, and examples
- MCP Server Guide - AI agent integration
Configuration
Publish the config file:
bash
Assets
Publish the plugin assets:
bash
Testing
bash
Code Style
bash
Static Analysis
bash
License
The MIT License (MIT). Please see License File for more information.