PHPackages                             square-bit/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. square-bit/laravel-workflow

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

square-bit/laravel-workflow
===========================

Add workflow support to your Laravel models.

v12.2.2(3mo ago)173[4 PRs](https://github.com/square-bit/laravel-workflow/pulls)MITPHPPHP ^8.1|^8.2CI passing

Since Sep 5Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/square-bit/laravel-workflow)[ Packagist](https://packagist.org/packages/square-bit/laravel-workflow)[ Docs](https://github.com/square-bit/laravel-workflow)[ RSS](/packages/square-bit-laravel-workflow/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (13)Versions (23)Used By (0)

Add workflow support to your Laravel models.
============================================

[](#add-workflow-support-to-your-laravel-models)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8bb5223a041fefa36c7adb21e51ec5dc5cb935cc49f247a11cf29015667ee52f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7371756172652d6269742f6c61726176656c2d776f726b666c6f772e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/square-bit/laravel-workflow)[![GitHub Tests Action Status](https://camo.githubusercontent.com/c206173b6c503e8b796b0f6b861f716fdcb82ea7b8d2efcba1669c142816a827/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7371756172652d6269742f6c61726176656c2d776f726b666c6f772f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/square-bit/laravel-workflow/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/c2587f13f381bf92d2cc1decd1be82a85947d960a49f75424bbfa824149caadd/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7371756172652d6269742f6c61726176656c2d776f726b666c6f772f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/square-bit/laravel-workflow/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/2f8d8714b3bcc444fb714cfe4756fe6e1740275effe84356cba48b5b85c45bc2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7371756172652d6269742f6c61726176656c2d776f726b666c6f772e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/square-bit/laravel-workflow)

Give your models the ability to flow through multiple states.

Features:

- default workflow per model class.
- parallel workflows: each model can transition if more than one workflow, in parallel,
- permissioned transitions.

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

[](#installation)

You can install the package via composer:

```
composer require square-bit/laravel-workflow
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="laravel-workflow-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-workflow-config"
```

This is the contents of the published config file:

```
return [
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="laravel-workflow-views"
```

Usage
-----

[](#usage)

```
// TODO
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Squarebit, Lda](https://github.com/square-bit)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance83

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 77.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~57 days

Recently: every ~40 days

Total

17

Last Release

106d ago

Major Versions

v0.9.4 → v1.02025-01-19

v1.0 → v12.0.12025-02-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/01faacc649020a16c1cceb7ec2dd2cf579c5de812ee9a88aad11be04e41c54bf?d=identicon)[Squarebit](/maintainers/Squarebit)

---

Top Contributors

[![tiagof](https://avatars.githubusercontent.com/u/1729910?v=4)](https://github.com/tiagof "tiagof (61 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (11 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (7 commits)")

---

Tags

laravelsquare-bitlaravel-workflow

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/square-bit-laravel-workflow/health.svg)

```
[![Health](https://phpackages.com/badges/square-bit-laravel-workflow/health.svg)](https://phpackages.com/packages/square-bit-laravel-workflow)
```

###  Alternatives

[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

124603.0k](/packages/worksome-exchange)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
