Download the PHP package ffhs/filament-package_ffhs_approvals without Composer
On this page you can find all versions of the php package ffhs/filament-package_ffhs_approvals. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ffhs/filament-package_ffhs_approvals
More information about ffhs/filament-package_ffhs_approvals
Files in ffhs/filament-package_ffhs_approvals
Package filament-package_ffhs_approvals
Short Description This is my package filament-package_ffhs_approvals
License MIT
Homepage https://github.com/ffhs/filament-package_ffhs_approvals
Informations about the package filament-package_ffhs_approvals
Approvals Overview
This package allows you to easily implement approval workflows in your Filament-powered Laravel application. You can
define approval logic per model, specify who can approve (based on roles, permissions, or user logic), and expose
powerful UI actions using Filament’s Infolist
components.
Features:
- ✅ Native PHP Enums for status handling
- 🔁 Define multiple approval flows per model
- 👥 Role-, user-, and permission-based approval logic
- 🧩 Seamless integration with Filament Actions and Forms
- 🎨 Customize icons, labels, tooltips, colors per status
- 🛡️ Control button visibility and approval flow states based on business logic
- 🔔 Built-in confirmation prompts and notifications
- expandable
Screenshoots
Installation
You can install the package via composer:
You can publish the config file with:
You can publish and run the migrations with:
Usage
1. Define Approval Status Enum
Create a PHP Enum implementing HasApprovalStatuses
:
2. Define Approval Flow in Model
Implement Approvable
and use the HasApprovals
trait:
3. Basic Filament Action Usage
Render the approval action in your Filament resource or view:
4. Advanced Configuration
Customize your Filament Action appearance and logic:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-package_ffhs_approvals with dependencies
filament/filament Version ^3.0
spatie/laravel-package-tools Version ^1.15.0