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
- 🧱 Fully expandable
Versions
| Filament Version | Package Version |
|---|---|
| 3.x | ^1.0.0 |
| 4.x | ^2.0.0 |
| 5.x | --- |
Documentation
You can find the full documentation here.
Preview
(The lower section are the Approvals)
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:
Testing
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 ^4.0
laravel/framework Version ^11|^12.0
spatie/laravel-package-tools Version ^1.15.0
spatie/laravel-permission Version ^6.21