Download the PHP package hadimazalan/laravel-approval-workflow without Composer
On this page you can find all versions of the php package hadimazalan/laravel-approval-workflow. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hadimazalan/laravel-approval-workflow
More information about hadimazalan/laravel-approval-workflow
Files in hadimazalan/laravel-approval-workflow
Package laravel-approval-workflow
Short Description A reusable, headless Laravel package for multi-level approval workflows with delegation, OTP hooks, notifications, SLA tracking, and auditability.
License MIT
Informations about the package laravel-approval-workflow
Laravel Approval Workflow
A reusable, headless Laravel package for multi-level approval workflows. It ships with a fluent API, database-backed workflow instances, multi-level approval, delegation, OTP hooks, pluggable notification channels, SLA tracking, history, and a full audit trail.
- Namespace:
Hadimazalan\ApprovalWorkflow - Composer package:
hadimazalan/laravel-approval-workflow - Laravel:
^10.0 | ^11.0 | ^12.0 - PHP:
^8.2
Why this package?
Approval workflows are everywhere — claims, leave requests, purchase orders, content publishing, government applications. They share the same shape:
- A thing is created.
- It must be approved by N people in order.
- Some approvals can be delegated.
- Some approvals require an OTP challenge.
- Every action must be auditable.
This package provides a clean, headless core for that shape. It is framework agnostic about how you build your UI and who your approvers are — those are pluggable.
Quick start
That single call:
- Persists a polymorphic
ApprovalInstancelinked to your$claimmodel. - Creates one
ApprovalStepper level, in order. - Resolves approvers via the configured
ApproverResolver. - Dispatches notifications to the first level's approvers via the configured channels.
Acting on a workflow
Installation
The service provider is auto-discovered.
Publish the config and migration:
Documentation
See docs/ for full guides:
- Installation & configuration
- Fluent API
- Models & relationships
- Custom approver resolvers
- Notification channels
- OTP providers
- SLA & escalation
- Audit history
- Contributing
License
The MIT License (MIT). Please see LICENSE for more information.
All versions of laravel-approval-workflow with dependencies
illuminate/contracts Version ^10.0|^11.0|^12.0
illuminate/database Version ^10.0|^11.0|^12.0
illuminate/notifications Version ^10.0|^11.0|^12.0
illuminate/support Version ^10.0|^11.0|^12.0