{"id":24669103,"url":"https://github.com/solution10/pipeline","last_synced_at":"2026-04-15T18:01:57.538Z","repository":{"id":57055401,"uuid":"89943336","full_name":"solution10/pipeline","owner":"solution10","description":"Flexible and fast Pipeline library","archived":false,"fork":false,"pushed_at":"2017-05-07T11:07:38.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-19T18:01:38.852Z","etag":null,"topics":["composer-package","hhvm","php","pipeline"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/solution10.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-01T16:58:04.000Z","updated_at":"2022-12-12T12:40:39.000Z","dependencies_parsed_at":"2022-08-24T14:00:32.422Z","dependency_job_id":null,"html_url":"https://github.com/solution10/pipeline","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/solution10/pipeline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solution10%2Fpipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solution10%2Fpipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solution10%2Fpipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solution10%2Fpipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solution10","download_url":"https://codeload.github.com/solution10/pipeline/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solution10%2Fpipeline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31853279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["composer-package","hhvm","php","pipeline"],"created_at":"2025-01-26T09:19:33.961Z","updated_at":"2026-04-15T18:01:57.515Z","avatar_url":"https://github.com/solution10.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Solution10\\Pipeline\n\nA simple pipeline library that allows you to string together chains of tasks to perform in a given order.\n\nThis library, unlike others, allows you to name and insert steps in different orders to when they're defined.\n\n[![Build Status](https://travis-ci.org/Solution10/pipeline.svg?branch=master)](https://travis-ci.org/Solution10/pipeline)\n[![Latest Stable Version](https://poser.pugx.org/Solution10/pipeline/v/stable.svg)](https://packagist.org/packages/Solution10/pipeline)\n[![Total Downloads](https://poser.pugx.org/Solution10/pipeline/downloads.svg)](https://packagist.org/packages/Solution10/pipeline)\n[![License](https://poser.pugx.org/Solution10/pipeline/license.svg)](https://packagist.org/packages/Solution10/pipeline)\n\n- [Usage](#usage)\n- [PHP Requirements](#php-requirements)\n- [Author](#author)\n- [License](#license)\n\n## Usage\n\nThe most simple pipeline is just a sequence of steps where the output is handed to the next step and eventually\nreturned out of the bottom:\n\n```php\n\u003c?php\n\nuse Solution10\\Pipeline\\Pipeline;\n\n$w = (new Pipeline())\n    -\u003estep('double', function ($input) {\n        return $input * 2;\n    })\n    -\u003estep('add-one', function ($input) {\n        return $input + 1;\n    })\n    -\u003estep('stringify', function ($input) {\n        return 'Result: '.$input;\n    })\n;\n\n$result = $w-\u003erun(2);\n// $result is \"Result: 5\"\n```\n\nEach step is given a name as the first parameter and a `callable` as it's second.\n\n`Pipeline::run()` is then called with the input to generate the output.\n\nThere are various types of `run()` you can do, as well as variety of ways of defining steps, see the\n[Userguide](./docs/usage.md) for more details.\n\n## PHP Requirements\n\n- PHP \u003e= 5.6 || HHVM \u003e= 3.3\n\n## Author\n\nAlex Gisby: [GitHub](http://github.com/alexgisby), [Twitter](http://twitter.com/alexgisby)\n\n## License\n\n[MIT](http://github.com/Solution10/pipeline/tree/master/LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolution10%2Fpipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolution10%2Fpipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolution10%2Fpipeline/lists"}