PHPackages                             notwarp/laravel-workflow - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. notwarp/laravel-workflow

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

notwarp/laravel-workflow
========================

Integerate Symfony Workflow component into Laravel.

v6.0.4(1y ago)03MITPHPPHP ^7.4|^8.0|^8.1

Since Feb 13Pushed 1y agoCompare

[ Source](https://github.com/notwarp/laravel-workflow)[ Packagist](https://packagist.org/packages/notwarp/laravel-workflow)[ GitHub Sponsors](https://github.com/lucaterribili)[ RSS](/packages/notwarp-laravel-workflow/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (2)Dependencies (12)Versions (48)Used By (0)

Laravel workflow [![Build Status](https://camo.githubusercontent.com/1d41200036a72f5fc7f27bb5397ce374faccb7dfdf0de60a2c5723cbbf155fbf/68747470733a2f2f7472617669732d63692e636f6d2f6c756361746572726962696c692f6c61726176656c2d776f726b666c6f772e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/lucaterribili/laravel-workflow)
============================================================================================================================================================================================================================================================================================================================================

[](#laravel-workflow-)

This is a fork from [zerodahero/laravel-workflow](https://github.com/zerodahero/laravel-workflow). My current needs for this package are a bit more bleeding-edge than seem to be maintainable by the other packages. Massive kudos to brexis for the original work and adaptation on this.

Use the Symfony Workflow component in Laravel

Installation
------------

[](#installation)

```
composer require lucaterribili/laravel-workflow
```

Laravel Support
---------------

[](#laravel-support)

Package VersionLaravel Version Support^2.05.x^3.07.x^3.28.x^4.09.xUpgrade from v3 to v4
---------------------

[](#upgrade-from-v3-to-v4)

The changes is to the PHP and Laravel version, which only PHP 8.0, 8.1 and Laravel 9 are supported in this version. If you required to use the older version, do take from version 3.4.

Upgrade from v2 to v3
---------------------

[](#upgrade-from-v2-to-v3)

The biggest changes from v2 to v3 are the dependencies. To match the Symfony v5 components, the Laravel version is raised to v7. If you're on Laravel v6 or earlier, you should continue to use the v2 releases of this package.

To match the changes in the Symfony v5 workflow component, the "arguments" config option has been changed to "property". This describes the property on the model the workflow ties to (in most circumstances, you can simply change the key name from "arguments" to "property", and set to a string instead of the previous array).

Also, the "initial\_place" key has been changed to "initial\_places" to align with the Symfony component as well.

### Non-package Discovery

[](#non-package-discovery)

If you aren't using package discovery:

Add a ServiceProvider to your providers array in `config/app.php`:

```
