Download the PHP package briefley/filament-workflow-builder without Composer

On this page you can find all versions of the php package briefley/filament-workflow-builder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filament-workflow-builder

Filament Workflow Builder

A generic Laravel workflow orchestration package with pluggable step executors and an optional Filament admin UI.

Features

Compatibility Matrix

Package line Filament Laravel PHP Status
^1.0 ^5.0 ^11.0 \| ^12.0 \| ^13.0 ^8.2 Primary line
^0.4 ^4.0 ^11.28 \| ^12.0 \| ^13.0 ^8.2 Legacy compatibility line
^0.3 ^3.3 ^10.45 \| ^11.0 \| ^12.0 ^8.1 \| ^8.2 Legacy compatibility line

Release Lines

Latest Tags

Installation

  1. Require the package for your Filament major.

  2. Publish config and migrations.

Maintenance Policy

Configuration

Define available step types and executors in config/workflow-builder.php:

Build Your Own Workflow Jobs

1. Create a step executor

Each workflow "job" is a step type mapped to an executor class.

1.1 Pass data from previous steps (optional)

If your job needs outputs from earlier jobs in the same workflow run, implement:

You will receive WorkflowStepExecutionContext containing succeeded previous step outputs (meta).

Helpful context methods:

2. Return one of the supported step results

Each step executor must implement:

and return Briefley\WorkflowBuilder\DTO\StepExecutionResult from execute():

2.1 Production reliability tips

When implementing real jobs, these two patterns help avoid common production failures:

3. Register your step type in config

Add your label and executor to config/workflow-builder.php:

The step_executors key is the runtime source of truth.
The workflow_jobs key is used for friendly labels in UI selectors.

4. Add the step in Filament

  1. Open Workflows.
  2. Create or edit a workflow.
  3. In the Steps relation manager, add a row with your step type.
  4. Order steps by sequence.

5. Run scheduler + queue worker

The package dispatches due workflows from the scheduler, and steps execute in queue jobs.

If you use Horizon, run Horizon instead of queue:work.

Scheduler

Dispatch due workflows every minute from your scheduler:

Filament Plugin

Register the plugin in your panel provider:

The plugin registers only the WorkflowResource and manages steps/runs via relation managers.

Testing

Run the package test suite:


All versions of filament-workflow-builder with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
filament/filament Version ^5.0
illuminate/console Version ^11.0|^12.0|^13.0
illuminate/database Version ^11.0|^12.0|^13.0
illuminate/queue Version ^11.0|^12.0|^13.0
illuminate/support Version ^11.0|^12.0|^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package briefley/filament-workflow-builder contains the following files

Loading the files please wait ...