Manage your own workflows with filament

Overview

Filament Workflow Manager

Latest Version on Packagist Total Downloads

This package provides a Filament resource where you can configure and manager your workflows, and also provides some functions, helpers, traits, ... to help you attach statuses to your configured models.

Filament Workflow Manager

Installation

You can install the package via composer:

composer require heloufir/filament-workflow-manager

The package comes with publishable assets:

Migrations

php artisan vendor:publish --tag="filament-workflow-manager-migrations"

Config file

php artisan vendor:publish --tag="filament-workflow-manager-config"

Quick start

Please read the following steps to understand how to use this package. Quick start steps

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

Comments
  • Adding tasks to each Workflow status

    Adding tasks to each Workflow status

    I am new to filament admin.

    However, I have a use case where I need to add a set of pre-created tasks or objectives for each workflow step or status.

    What would be the best approach: 1 - Fork the repo, then add the related models, and migrations? 2 - Try to integrate it using new filament resources?

    help wanted question 
    opened by jigzstar 5
  • Using workflows on Record actions

    Using workflows on Record actions

    Hello.

    I'm trying to add an action to the ViewResource and EditResource that would allow me to change the workflow status outside of the EditRecord. I've managed to change it manually with this: $this->record->workflow_status->workflow_status_id = $data['workflow_status_id']; $this->record->workflow_status->save(); But this isn't clearly the intended way, since history isn't triggered.

    Additionally. Is there any way to use this plugin and disabling the workflow permissions? Do you recommend any compatible user management? I've seen a few that don't see to be easily overridable to add the workflow permissions.

    Thank you for this great plugin.

    help wanted question 
    opened by nosfas 2
  • what's refer like?

    what's refer like?

    Add a Filament resource to manage your model Refer to the Filament documentation: https://filamentphp.com/docs/2.x/admin/resources/getting-started#creating-a-resource

    opened by sunkangchina 0
  • Missing required parameters for id & model

    Missing required parameters for id & model

    Hi there,

    I did a fresh install of this package by following the quickstart documentation, and then I saw a little bit of an error.

    Missing required parameters for [Route: filament.pages.workflow-history/{id}/{model}] [URI: admin/workflow-history/{id}/{model}] [Missing parameters: id, model].

    After, seeing your code I found the problem came from this line a required parameter of id & model. And I think we need to make it optional like this workflow-history/{id?}/{model?}. Cause when I try to change it into optional on the vendor directory, it works like a charm.

    Thanks

    opened by muhibbudins 0
  • Workflow per model item, opposed to per model?

    Workflow per model item, opposed to per model?

    Wondering if it is possible to adapt it to have a workflow per item? Where we can select the workflow from within the model? Or define the workflow within the model item?

    Loving the idea of this, but we do have a variation of how it can be used, at the moment it seems limiting on it's process.

    opened by TonyPartridgeR 0
  • Error handling on workflow without status

    Error handling on workflow without status

    Attempt to read property "status" on null at /var/www/wbl/vendor/heloufir/filament-workflow-manager/src/Core/WorkflowResource.php

    I believe this occurs when you add the package to an existing table with models without a status. If the status doesn't exist, it should be created using the first status for the workflow rather than an error.

    opened by HeartlandTechie 2
  • Problem with workflow design, adding already used status breaks the page

    Problem with workflow design, adding already used status breaks the page

    Hi.

    Thanks for the great plugin.

    There seems to be a problem with setting reverse flows. Fillament version: 2.15.11 Plugin version: 1.1.8

    As shown in the image.

    image

    Steps to reproduce: Add 3 statusses. Connect the 1st to the 2nd and 3rd. Connect the the 2nd to the 3rd. Page keeps loading until a fatal error is thrown,

    image

    Thank you.

    bug enhancement help wanted 
    opened by OppPMatos 2
Releases(1.1.11)
Owner
EL OUFIR Hatim
Just another developer!
EL OUFIR Hatim
Podcastwala - Your very own Podcast web app built with Laravel. Manage and listen to your favorite podcasts

Podcastwala Your very own Podcast web app built with Laravel 5. This web app enables you to manage RSS feeds for your favorite podcasts and listen to

null 142 Sep 14, 2022
Durable workflow engine that allows users to write long running persistent distributed workflows in PHP powered by Laravel queues

Durable workflow engine that allows users to write long running persistent distributed workflows (orchestrations) in PHP powered by Laravel queues. Inspired by Temporal and Azure Durable Functions.

null 268 Dec 27, 2022
Add a general-purpose tools page to your Filament project. 🛠

Add a general-purpose tools page to your Filament project. Installation You can install the package via Composer: composer require ryangjchandler/fila

Ryan Chandler 24 Dec 6, 2022
Easily interact and control your feature flags from Filament

Easily interact and control your feature flags from Filament

Ryan Chandler 32 Nov 29, 2022
Add a progress bar column to your Filament tables.

Add a progress bar column to your Filament tables. This package provides a ProgessColumn that can be used to display a progress bar in a Filament tabl

Ryan Chandler 22 Nov 12, 2022
Filament Plugin to help implement Cloudflare turnstile into your forms.

Filament Turnstile Filament Turnstile, is a plugin to help you implement the Cloudflare turnstile. This plugin uses Laravel Turnstile Behind the scene

Coderflex 5 Jun 12, 2023
Update multiple Laravel Model records, each with it's own set of values, sending a single query to your database!

Laravel Mass Update Update multiple Laravel Model records, each with its own set of values, sending a single query to your database! Installation You

Jorge González 88 Dec 31, 2022
If you are beginner in WordPress plugin development or if you want to develop your own store product plugin you use this plugin

hirwa-products-plugin If you are beginner in WordPress plugin development or if you want to develop your own store product plugin you use this plugin

NIYIBIZI HIRWA 1 Aug 23, 2022
Make your own custom cast type for Laravel model attributes

Laravel Custom Casts Make your own cast type for Laravel model attributes Laravel custom casts works similarly to Eloquent attribute casting, but with

Vladimir Ković 220 Oct 28, 2022
A bring-your-own-email-first newsletter service. ✨

Typewrite Typewrite a hosted bring-your-own-email newsletter service for people who need a simplistic and privacy-first newsletter service. The core a

Ryan Chandler 3 Dec 2, 2021
Laravel-OvalFi helps you Set up, test, and manage your OvalFi integration directly in your Laravel App.

OvalFi Laravel Package Laravel-OvalFi helps you Set up, test, and manage your OvalFi integration directly in your Laravel App. Installation You can in

Paul Adams 2 Sep 8, 2022
A simple profile management page for Filament. ✨

A simple profile page for Filament. This package provides a very simple Profile page that allows the current user to manage their name, email address

Ryan Chandler 65 Jan 5, 2023
The Most Popular JavaScript Calendar as a Filament Widget 💛

The Most Popular JavaScript Calendar as a Filament Widget ?? Features Accepts all configurations from FullCalendar Event click and drop events Upcomin

Guilherme Saade 62 Dec 31, 2022
A single-field repeater for Filament. ⚡️

A single-field repeater for Filament. This is where your description should go. Limit it to a paragraph or two. Consider adding a small example. Insta

Ryan Chandler 3 Mar 5, 2022
A convenient helper for using the laravel-seo package with Filament Admin and Forms

Combine the power of Laravel SEO and Filament PHP. This package is a convenient helper for using the laravel-seo package with Filament Admin and Forms

Ralph J. Smit 39 Dec 21, 2022
Admin user, role and permission management for Laravel Filament

Filament Access Control Opinionated setup for managing admin users, roles and permissions within Laravel Filament Features Separate database table for

Elisha Witte 69 Jan 4, 2023
Build structured navigation menus in Filament.

Build structured navigation menus in Filament. This plugin for Filament provides a Navigation resource that allows to build structural navigation menu

Ryan Chandler 61 Dec 30, 2022
Access laravel log through Filament admin panel

Access laravel log through Filament admin panel Features Syntax highlighting Quickly jump between start and end of the file Refresh log contents Clear

Guilherme Saade 20 Nov 22, 2022
A collection of reusable components for Filament.

A collection of reusable components for Filament. This package is a collection of handy components for you to use in all your Filament projects. It pr

Ralph J. Smit 35 Nov 16, 2022