Project list

Open source · Laravel & Filament

Filament Workflows

A Filament plugin for workflows in Laravel. Triggers determine when the associated actions run.

PHPLaravelFilament

Workflows in Laravel

Filament Workflows connects events in a Laravel application to executable actions. Workflows and their triggers are configured in the Filament panel. When the conditions match, the plugin runs the associated actions.

Custom actions

Models connect to the plugin through a trait. Actions are PHP classes with a handle method that defines what happens after a matching event.

Workflows are configured in the admin panel; application logic stays in the action classes.

Installation

composer require tschucki/filament-workflows

Next, install the plugin and register it in the Filament panel. The repository documentation contains the full setup and an example action.

In the source code

Technical structure

Explore each part directly in the repository.

  1. Model event

    An observer receives events such as created or updated and finds the associated workflows.

    View source code
  2. Conditions

    A field, operator and comparison value define the trigger. All conditions must match.

    View source code
  3. Queued actions

    The selected PHP actions receive the model. BaseAction uses Laravel's queue interface.

    View source code

Next project

Shopware Servant

Open source · Developer tools

Back to homeAll projects