Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Workflow Laravel Package

zerodahero/laravel-workflow

View on GitHub
Deep Wiki
Context7
v6.3.0

What's Changed

Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v6.2.0...v6.3.0

v6.2.0
v6.0.0

What's Changed

New Contributors

Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v5.0.1...v6.0.0

v5.0.1

What's Changed

Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v5.0.0...v5.0.1

v5.0.0

What's Changed

New Contributors

Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v4.2.0...v5.0.0

v4.1.1
v4.0.5

What's Changed

New Contributors

Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v4.0.4...v4.0.5

v4.0.4

What's Changed

New Contributors

Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v4.0.3...v4.0.4

v4.0.3

Changes

  • Adds docblock FQDN to method return types for static tools (thanks, @NelinD !)

Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v4.0.2...v4.0.3

v4.0.2

Fixes

  • Issue #69 guard events not working

Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v4.0.1...v4.0.2

v4.0.1

Changes

  • Allows providing context as the second argument to workflow_apply() when working with the default workflow for that subject.

Fixes

  • Issue #68 - Queued event listeners failing

Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v4.0.0...v4.0.1

v4.0.0

Notable Changes

  • Bumps minimum PHP version to only supported versions (7.4, 8.0, 8.1)
  • Bumps Laravel version to 9.x
  • Minor modifications to events; events now inherit from the Symfony workflow base event, rather than proxy to it (with the exception of the Guard event)

Upgrading

  • It is now recommended to use the Symfony style dot-syntax for listening to events. The Laravel style class events may be dispatched multiple times depending on the workflow events, and should only be listened to explicitly with idempotent listeners/subscribers.

Contributions

New Contributors

Full Changelog: https://github.com/zerodahero/laravel-workflow/compare/v3.3.3...v4.0.0

v3.3.3

Changes

v3.3.2

Changes

  • Adds context to workflow_apply (thanks to @makroxyz for the PR on that!)
  • Switches to Symfony contracts instead of full event dispatcher package (thanks, @looksystems)
v3.3.1

Fixes: #44 Event names with . fail to dispatch events properly

Thanks to @simonworkhouse for finding that and the PR!

v3.3.0

Fixes #40 Fixes #41

This version changes the way events are fired from the Symfony component into the Laravel dispatcher. We introduced an adapter that allows the Symfony events to be dispatched directly through Laravel's dispatcher, and were able to remove some of the tedium of listening and re-dispatching Laravel-style events. A lot of the eventing work in this package was simplified because of that.

Please open an issue (or PR) if you encounter any backward compatibility issues with this version around events.

v3.2.2

Fixes issue #38

v3.2.1

Adds missing support for Announce event (thanks, @klimenttoshkov !) Adds missing support for events_to_dispatch option (thanks, @klimenttoshkov !) (added in Symfony 5.2) Fixes false-y values as markings not being read correctly (thanks, @adiletmaks) Adds support for PHP 8

v3.2.0

Included in this release:

  • Bump Laravel dependencies to support Laravel 8
  • Support for Lumen (Thanks @squarezhou !)
  • Support for different workflow dump output paths (Thanks @rachediabdenacer !)
v3.1.2

Minor patch to include workflow name for transitions in the state. Thanks to @makroxyz for the catch, and the fix!

v3.1.1

Fixes issue with queued events by switching all workflow events to this package's flavor.

v3.1.0

This release addresses the serialize error from the underlying Symfony event.

It also adds support for the events to proxy to the original (Symfony) event.

Minor version bumped since I needed to bump the package requirements.

v3.0.1

This release removes the requirement to set the setMarking and getMarking methods on your model. It will now defer those methods to the eloquent model.

In the config, you can override this in the marking store config by setting 'marking_store.class' to a class of another marking store (i.e. MethodMarkingStore).

v3.0.0

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.

v2.1.0

No real changes needed according to the Laravel v6 docs, so this is just a version bump to support Laravel 6. Please open issues or PRs if I overlooked anything!

v2.0.4

Added more info to the doc.

You can now get the underlying workflow from the trait, using $model->workflow_get(), as well as using the registry Workflow::get($model, $workflowName).

v2.0.2

Symfony Workflow Component 4.2.9+ fires the "entered event" on initializing the workflow. This release fixes those event expectations.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle