| Install | |
|---|---|
composer require habibtalib/filament-flowstone |
|
| Latest Version: | v1.0.0 |
| PHP: | ^8.2 |
A Filament plugin for Flowstone - Laravel Workflow Engine with Symfony Workflow Integration.
Install the package via Composer:
composer require habibtalib/filament-flowstone
Register the plugin in your Filament Panel Provider:
use CleaniqueCoders\FilamentFlowstone\FilamentFlowstonePlugin;
public function panel(Panel $panel): Panel
{
return $panel
// ...
->plugins([
FilamentFlowstonePlugin::make(),
]);
}
You can customize the plugin behavior:
FilamentFlowstonePlugin::make()
->navigationGroup('System')
->navigationIcon('heroicon-o-cog')
->navigationSort(100)
->workflowResource(true)
->workflowDesignerPage(true)
->widgets(true)
| Method | Description | Default |
|---|---|---|
navigationGroup(?string $group) |
Set the navigation group | null |
navigationIcon(?string $icon) |
Set the navigation icon | heroicon-o-arrow-path |
navigationSort(?int $sort) |
Set the navigation sort order | null |
workflowResource(bool $condition) |
Enable/disable the Workflow resource | true |
workflowDesignerPage(bool $condition) |
Enable/disable the Workflow Designer page | true |
widgets(bool $condition) |
Enable/disable the dashboard widgets | true |
Full CRUD management for workflows including:
Visual designer for viewing and managing workflows:
Publish the configuration file:
php artisan vendor:publish --tag="filament-flowstone-config"
Publish views (optional, for customization):
php artisan vendor:publish --tag="filament-flowstone-views"
Publish translations (optional):
php artisan vendor:publish --tag="filament-flowstone-translations"
Note: This plugin uses tables from the main cleaniquecoders/flowstone package. Make sure to run the Flowstone migrations first:
php artisan vendor:publish --tag="flowstone-migrations"
php artisan migrate
The MIT License (MIT). Please see License File for more information.