Download the PHP package juststeveking/laravel-business-process without Composer
On this page you can find all versions of the php package juststeveking/laravel-business-process. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download juststeveking/laravel-business-process
More information about juststeveking/laravel-business-process
Files in juststeveking/laravel-business-process
Package laravel-business-process
Short Description Laravel Business Process is a simple and clean way to run business process using a Laravel Pipeline, in a structured and type-safe way.
License MIT
Informations about the package laravel-business-process
Laravel Business Process
Laravel Business Process is a simple and clean way to run business process using a Laravel Pipeline, in a structured and type-safe way.
This package is inspired by the tutorial I wrote for Laravel News Going Past Actions in Laravel.
Installation
Usage
To get started with this package, all you need to do is create a new process class:
Our process class registers the tasks that need to be completed for this process to run, each task must implement the TaskContract
interface that comes with this package.
Your tasks are standard classes that the Pipeline
class from Laravel would expect.
The payload is a class that implements ProcessPayload
interface, signalling that it is a payload for a process. They are simple plain old PHP classes with no requirements to add methods.
Finally, we can call this process within our controller/job/cli wherever you need to.
Testing
To run the test:
Credits
- Steve McDougall
- All Contributors
LICENSE
The MIT License (MIT). Please see License File for more information.