slashequip/laravel-pipeline

An opinionated, improved pipeline for Laravel projects to help breakdown complex logic into easily readable chunks.

Maintainers

Package info

github.com/slashequip/laravel-pipeline

pkg:composer/slashequip/laravel-pipeline

Fund package maintenance!

slashequip

Statistics

Installs: 11

Dependents: 0

Suggesters: 0

Stars: 6

Open Issues: 4


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

An opinionated, improved pipeline for Laravel projects to help breakdown complex logic into easily readable chunks.

Installation

You can install the package via composer:

composer require slashequip/laravel-pipeline

Usage

For full usage view the full documentation.

$pipeline = Pipeline::make();
$pipeline->send(UserRegistrationTransport::make());
$pipeline->through(
    CreateUserPipe::make(),
    NotifyUserRegisteredPipe::make(),
    AddUserToSegmentPipe::make(),
    LogUserInPipe::make()
);
$finalTransportState = $pipeline->deliver();

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.