praetorian-digital/workflow-designer-pro-bundle
Composer 安装命令:
composer require praetorian-digital/workflow-designer-pro-bundle
包简介
Visual Workflow Designer for Pimcore - Create, edit, and manage workflows with a graphical interface based on Symfony Workflow
README 文档
README
Visual Workflow Designer for Pimcore - Create, edit, and manage workflows with a graphical interface based on Symfony Workflow.
Features
- 🎨 Visual Graph Editor - Drag-and-drop interface for creating workflow diagrams
- 📝 Places & Transitions - Full support for Pimcore workflow places and transitions
- 🎯 Flexible Support Strategies - Simple class list, expression-based, or custom service strategies
- 🔒 Guard Expressions - Visual editing of Symfony guard expressions
- 🔐 Permission Rules - Configure place permissions with conditions
- 📧 Notifications - Set up email/Pimcore notifications per transition
- 📤 Import/Export - YAML and JSON workflow import/export
- 🔄 Version Control - Track workflow changes with version history
- 🧪 Simulation Mode - Test workflows before publishing
- 📱 Responsive UI - Works on different screen sizes
Requirements
- PHP >= 8.1
- Pimcore >= 11.0 or >= 2024.0
- Symfony >= 6.4
Installation
Via Composer
composer require praetorian-digital/workflow-designer-pro-bundle
Enable the Bundle
Add to config/bundles.php:
return [ // ... PraetorianDigital\WorkflowDesignerProBundle\WorkflowDesignerProBundle::class => ['all' => true], ];
Install Assets
bin/console assets:install --symlink bin/console cache:clear
Run the Installer
bin/console pimcore:bundle:install WorkflowDesignerProBundle
Configuration
Create config/packages/workflow_designer_pro.yaml:
workflow_designer_pro: storage_path: '%kernel.project_dir%/var/config/workflow_designer_pro' publish_path: '%kernel.project_dir%/config/workflows' max_versions: 10 backup_enabled: true auto_cache_clear: true
Make sure your workflows are imported in config/packages/workflows.yaml:
imports: - { resource: '../workflows/*.yaml' }
Usage
Accessing the Designer
- Navigate to Settings → Workflow Designer Pro in Pimcore admin
- Or use the top-level Workflow Designer menu item
Creating a Workflow
- Click New Workflow
- Fill in the basic settings (name, label, supports)
- Add places in the Places tab or Graph Editor
- Add transitions connecting places
- Configure guards and notifications as needed
- Save Draft to store your work
- Publish to activate the workflow
Support Strategies
Choose how the workflow applies to objects:
Simple (Class List) - Apply to all objects of selected classes:
supports: - Pimcore\Model\DataObject\Product
Expression - Apply based on conditions:
support_strategy: type: expression arguments: - Pimcore\Model\DataObject\Product - "subject.getProductType() == 'article'"
Custom Service - Use custom PHP logic:
support_strategy: service: App\Workflow\CustomSupportStrategy
See the User Guide for detailed documentation on support strategies.
Permissions
The bundle creates two permissions:
workflow_designer- View and edit workflowsworkflow_designer_publish- Publish workflows to configuration
Assign these to users via Settings → Users → Permissions.
Documentation
Contributing
Contributions are welcome! Please read our Contributing Guide before submitting a Pull Request.
License
This bundle is released under the MIT License. See the LICENSE file for details.
Credits
Built with ❤️ for the Pimcore community.
Based on:
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-09
