phpmentors / workflower-bundle
A Symfony bundle for Workflower
Installs: 14 021
Dependents: 0
Suggesters: 0
Security: 0
Stars: 23
Watchers: 5
Forks: 12
Open Issues: 4
Type:symfony-bundle
Requires
- php: >=5.3.9
- phpmentors/workflower: ~1.2
- symfony/config: ~2.8 || ~3.0
- symfony/dependency-injection: ~2.8 || ~3.0
- symfony/finder: ~2.8 || ~3.0
- symfony/http-kernel: ~2.8 || ~3.0
- symfony/security-bundle: ~2.8 || ~3.0
- symfony/security-core: ~2.8 || ~3.0
Requires (Dev)
- doctrine/orm: ~2.4
- symfony/doctrine-bridge: ~2.8 || ~3.0
Suggests
- doctrine/orm: >= 2.4.0 provides transparent serialization/deserialization support for entities with Doctrine ORM
- symfony/doctrine-bridge: >=2.8.0 provides transparent serialization/deserialization support for entities with Doctrine ORM
README
A Symfony bundle for Workflower
Features
- Integration with the service container by the
phpmentors_workflower.process_aware
tag - Integration with the security system for workflow participants
- Transparent serialization/deserialization support for entities with Doctrine ORM
- Multiple workflow contexts (which are directories where BPMN files are stored)
Installation
PHPMentorsWorkflowerBundle
can be installed using Composer.
First, add the dependency to phpmentors/workflower-bundle
into your composer.json
file as the following:
Stable version:
composer require phpmentors/workflower-bundle "1.4.*"
Development version:
composer require phpmentors/workflower-bundle "~1.5@dev"
Second, add PHPMentorsWorkflowerBundle
into your bundles to register in AppKernel::registerBundles()
as the following:
// ... class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new PHPMentors\WorkflowerBundle\PHPMentorsWorkflowerBundle(), ); // ...
Configuration
app/config/config.yml:
# ... phpmentors_workflower: serializer_service: phpmentors_workflower.base64_php_workflow_serializer # Defaults to `phpmentors_workflower.php_workflow_serializer` workflow_contexts: app: definition_dir: "%kernel.root_dir%/../src/AppBundle/Resources/config/workflower" # A directory where BPMN files for the `app` context are stored
Documentation
Support
If you find a bug or have a question, or want to request a feature, create an issue or pull request for it on Issues.
Copyright
Copyright (c) 2015-2017 KUBO Atsuhiro, All rights reserved.