draw/workflow
draw/workflow is a Laravel/PHP package for modeling and running workflows. Define steps and transitions, track state changes, and execute processes consistently across your application. Useful for approvals, onboarding flows, and other multi-step business processes.
stateless/state-machine).draw/security for attribute-based access control (ABAC) (e.g., "only users with can_approve attribute can transition to approved").Adopt if:
Look Elsewhere if:
workflow or Laravel’s spatie/laravel-workflow suffices).spatie/laravel-workflow) and want tighter integration.EventDispatcher and Workflow components).For Executives: "This package lets us add custom rules to workflows (e.g., role-based approvals, dynamic transitions) without building from scratch. It’s a lightweight, MIT-licensed tool that could cut dev time for compliance workflows by 30–50%. For example, if we’re launching a HIPAA-compliant document review system, this could help us ship faster while keeping costs low. The risk is minimal—it’s untested but built on stable Symfony components, and we can prototype it in a sandbox environment."
For Engineering:
"If we need dynamic workflow transitions (e.g., ‘skip step X if user has role Y’), this package adds that via Symfony’s event system. It’s a drop-in extension for symfony/workflow—no major refactoring needed. The tradeoff? Zero production usage means we’d need to validate it ourselves, but the codebase is small and MIT-licensed. Alternatives like custom code would take longer to build and test, and packages like spatie/laravel-workflow don’t offer the same level of extensibility. Let’s prototype it for [specific use case, e.g., ‘the approval chain in our billing module’] and measure the impact."
For Product Managers: *"This could help us de-risk feature development for workflow-heavy products. For example:
How can I help you explore Laravel packages today?