定制 nacosvel/pipeline 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

nacosvel/pipeline

最新稳定版本:v1.1.0

Composer 安装命令:

composer require nacosvel/pipeline

包简介

The Nacosvel Components

README 文档

README

Pipeline

The Nacosvel Components

GitHub Tag Total Downloads Packagist Version Packagist PHP Version Support Packagist License

Table of Contents
  1. Installation
  2. Usage
  3. Contributing
  4. Contributors
  5. License

Installation

You can install the package via Composer:

composer require nacosvel/pipeline

[back to top]

Usage

$pipeline = new Nacosvel\Pipeline\Pipeline();

$pipeline = $pipeline->send($passable = 'hello')->through([
    new Middleware,
])->then(function ($passable) {
    return $passable;
});

var_dump($pipeline);
$hub = new Nacosvel\Pipeline\Hub();

$hub->pipeline('pipeline', function (Pipeline $pipeline, $passable) {
    return $pipeline->send($passable)->through([
        new Middleware,
    ])->thenReturn();
});

$hub->pipelines('pipelines', [
    new Middleware,
]);

var_dump($hub->pipe($passable = 'hello', 'pipeline'));
var_dump($hub->pipe($passable = 'hello', 'pipelines'));

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

[back to top]

Contributors

Thanks goes to these wonderful people:

contrib.rocks image

Contributions of any kind are welcome!

[back to top]

License

Distributed under the MIT License (MIT). Please see License File for more information.

[back to top]

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-12-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固