Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/phpmentors-jp/workflower-bundle

A Symfony bundle for Workflower
https://github.com/phpmentors-jp/workflower-bundle

bpm bpmn bpms flow php process symfony symfony-bundle workflow

Last synced: 5 days ago
JSON representation

A Symfony bundle for Workflower

Awesome Lists containing this project

README

        

# PHPMentorsWorkflowerBundle

A Symfony bundle for [Workflower](https://github.com/phpmentors-jp/workflower)

[![Total Downloads](https://poser.pugx.org/phpmentors/workflower-bundle/downloads)](https://packagist.org/packages/phpmentors/workflower-bundle)
[![Latest Stable Version](https://poser.pugx.org/phpmentors/workflower-bundle/v/stable)](https://packagist.org/packages/phpmentors/workflower-bundle)
[![Latest Unstable Version](https://poser.pugx.org/phpmentors/workflower-bundle/v/unstable)](https://packagist.org/packages/phpmentors/workflower-bundle)

## 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](http://getcomposer.org/).

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:

```php
// ...
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
// ...
new PHPMentors\WorkflowerBundle\PHPMentorsWorkflowerBundle(),
);
// ...
```

## Configuration

`app/config/config.yml:`

```yaml
# ...

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

* [Quick Start Guide](https://github.com/phpmentors-jp/workflower/blob/master/docs/quick-start-guide.md)
* [Release Notes](https://github.com/phpmentors-jp/workflower-bundle/releases)

## 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](https://github.com/phpmentors-jp/workflower-bundle/issues).

## Copyright

Copyright (c) 2015-2017 KUBO Atsuhiro, All rights reserved.

## License

[The BSD 2-Clause License](http://opensource.org/licenses/BSD-2-Clause)