PHPackages                             aurorawebsoftware/aapproval - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. aurorawebsoftware/aapproval

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

aurorawebsoftware/aapproval
===========================

Backend-only approval workflow for create/update/delete actions

1.0.0(7mo ago)51MITPHPPHP &gt;=8.1

Since Sep 22Pushed 7mo agoCompare

[ Source](https://github.com/AuroraWebSoftware/AApproval)[ Packagist](https://packagist.org/packages/aurorawebsoftware/aapproval)[ RSS](/packages/aurorawebsoftware-aapproval/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

AApproval - Laravel Approval Workflow Package
=============================================

[](#aapproval---laravel-approval-workflow-package)

[![AApproval Package](assets/cover.png)](assets/cover.png)[![AApproval Package](assets/cover2.svg)](assets/cover2.svg)[![AApproval Package](assets/cover3.svg)](assets/cover3.svg)

AApproval provides a powerful and flexible approval workflow system for create/update/delete operations in Laravel applications. This package is backend-only and does not include any frontend components.

🚀 Features
----------

[](#-features)

- **Multi-Step Approval System**: Support for complex approval processes with multiple steps
- **Flexible Approver Types**: Role, permission, and user-based approval mechanisms
- **Trait-Based Integration**: Easily integrate with your existing models
- **Automatic Workflow**: Automatically captures model operations and routes them to approval process
- **Full Customization**: Define different approval flows for each model
- **Laravel Authorization Integration**: Compatible with Laravel's existing authorization system

📋 Requirements
--------------

[](#-requirements)

- PHP 8.1 or higher
- Laravel 11.0 or higher
- Spatie Laravel Permission package (recommended)

📦 Installation
--------------

[](#-installation)

Install the package via Composer:

```
composer require aurorawebsoftware/aapproval
```

Publish the configuration file:

```
php artisan vendor:publish --tag=aapproval-config
```

Publish migration files and run them:

```
php artisan vendor:publish --tag=aapproval-migrations
php artisan migrate
```

⚙️ Configuration
----------------

[](#️-configuration)

Define approval flows for each model in `config/approvals.php`:

```
