jobmetric / laravel-flow
This package is for creating various workflows in Laravel projects.
Fund package maintenance!
Requires
- php: >=8.0.1
- jobmetric/laravel-event-system: ^2.7
- jobmetric/laravel-form: ^1.5
- jobmetric/laravel-package-core: ^1.35
- jobmetric/laravel-translation: ^3.5
- laravel/framework: >=9.19
- spatie/laravel-query-builder: ^6.3
README
Laravel Flow
Build Powerful Workflows. Scale Effortlessly.
Laravel Flow revolutionizes how you build and manage workflows in Laravel. Stop drowning in repetitive boilerplate code and start crafting elegant, maintainable business processes that adapt to your needs. This is where powerful automation meets developer-friendly simplicity—giving you complete control over complex workflows without the complexity.
Why Laravel Flow?
Complete Freedom in Workflow Design
Design your business processes exactly as you envision them. No more being constrained by rigid, hardcoded solutions. With Laravel Flow, you become the architect of your workflows, crafting processes that perfectly match your business requirements.
Unmatched Speed and Efficiency
Eliminate thousands of lines of boilerplate code for managing simple requests. Laravel Flow allows you to implement complex workflows in minutes, not days. Free up your time to focus on what truly matters—building features that drive value for your users.
Unlimited Flexibility
Any process you can imagine is within reach. From salary increase requests to e-commerce order management, from content approval workflows to financial processes—there are no boundaries. Laravel Flow adapts to your needs, not the other way around.
What is Workflow?
A workflow is the beating heart of any management system. Consider a salary increase request that starts with a department manager, moves to the company manager, then to the finance department, and finally gets approved or rejected.
Each stage represents a State, and each change between states is a Transition. The real power lies in what happens during these transitions—you can automate virtually any action:
- Send email notifications
- Trigger SMS alerts
- Create system notifications
- Update reports and analytics
- Synchronize with external systems
- Execute custom business logic
- And anything else you can imagine
What Awaits You?
By adopting Laravel Flow, you will:
- Reduce development time by up to 70% - Focus on business logic instead of infrastructure
- Write cleaner, more maintainable code - Follow best practices with a battle-tested solution
- Scale your projects effortlessly - Handle complex workflows without performance concerns
- Shift focus to business value - Let the package handle the heavy lifting
- Empower system administrators - Enable non-developers to manage workflows through intuitive interfaces
Quick Start
Install Laravel Flow via Composer:
composer require jobmetric/laravel-flow
Documentation
Ready to transform your Laravel applications? Our comprehensive documentation is your gateway to mastering Laravel Flow:
The documentation includes:
- Getting Started - Quick introduction and installation guide
- HasFlow & HasWorkflow - Integrate workflows into your models
- Services - Complete API reference for Flow, FlowState, FlowTask, and FlowTransition
- MakeTask Command - Generate task drivers effortlessly
- Support Classes - FlowPicker, FlowTaskContext, RestrictionResult, and more
- Requests & Resources - Validation and API response handling
- Events - Hook into workflow lifecycle
- Real-World Examples - See how it works in practice
Contributing
Thank you for participating in laravel-flow. A contribution guide can be found here.
License
The laravel-flow is open-sourced software licensed under the MIT license. See License File for more information.