Skip to content

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

License

Notifications You must be signed in to change notification settings

slashequip/laravel-pipeline

Repository files navigation

Laravel Pipeline

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 useage view the full documentation.

$pipeline = Pipeline::make();
$pipeline->send(UserRegistrationTransport::make());
$pipeline->through(
    CreateUserPipe::make(),
    NotifiyUserRegisteredPipe::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.

About

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

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages