{"id":34007332,"url":"https://github.com/netresearch/pipeline-factory","last_synced_at":"2026-04-06T01:04:44.942Z","repository":{"id":322209160,"uuid":"654534306","full_name":"netresearch/pipeline-factory","owner":"netresearch","description":"This bundle enables you to create league/pipeline (https://github.com/thephpleague/pipeline) pipelines via service configuration.","archived":false,"fork":false,"pushed_at":"2026-04-01T06:59:44.000Z","size":44,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-04-01T09:30:05.697Z","etag":null,"topics":["ci-cd"],"latest_commit_sha":null,"homepage":"","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/netresearch.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-16T10:41:07.000Z","updated_at":"2026-04-01T06:59:47.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/netresearch/pipeline-factory","commit_stats":null,"previous_names":["netresearch/pipeline-factory"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/netresearch/pipeline-factory","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netresearch%2Fpipeline-factory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netresearch%2Fpipeline-factory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netresearch%2Fpipeline-factory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netresearch%2Fpipeline-factory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netresearch","download_url":"https://codeload.github.com/netresearch/pipeline-factory/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netresearch%2Fpipeline-factory/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31455474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"ssl_error","status_checked_at":"2026-04-05T21:22:51.943Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["ci-cd"],"created_at":"2025-12-13T11:03:15.048Z","updated_at":"2026-04-06T01:04:44.934Z","avatar_url":"https://github.com/netresearch.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Netresearch Pipeline Factory Bundle\n\nThis bundle enables you to create [league/pipeline](https://github.com/thephpleague/pipeline) pipelines via service\nconfiguration.\n\n## Requirements\n\n- PHP 8.2 or higher\n- Symfony 5.4+, 6.4+, 7.3+, or 8.x\n- league/pipeline ^1.0\n\n## Installation\n\n```bash\n$ composer require netresearch/pipeline-factory\n```\n\nIf you do not use Symfony Flex, you need to enable the bundle manually:\n\n```php\n// config/bundles.php\nreturn [\n    // ...\n    Netresearch\\PipelineFactoryBundle\\NetresearchPipelineFactoryBundle::class =\u003e ['all' =\u003e true],\n];\n```\n\n## Usage\n\nUse the pipeline [factory](https://symfony.com/doc/current/service_container/factories.html#static-factories) via your\nservice container configuration:\n\n```yaml\n# config/services.yaml\nservices:\n    app.my.custom.pipeline:\n        factory: [ 'Netresearch\\PipelineFactoryBundle\\Pipeline\\Factory', create ]\n        class: League\\Pipeline\\Pipeline\n        arguments:\n            $stages: !iterator [\n                '@App\\Pipeline\\Stages\\Stage1',\n                '@App\\Pipeline\\Stages\\Stage2',\n                '@App\\Pipeline\\Stages\\Stage3',\n            ]\n            # optional: set the pipeline processor\n            $processor: '@App\\Pipeline\\Processor\\MyCustomProcessor'\n```\n\nAlternatively you can pass in a collection of tagged services (e.g. tag them\nvia [autoconfiguration](https://symfony.com/doc/current/service_container/tags.html#autoconfiguring-tags)):\n\n```yaml\n# config/services.yaml\nservices:\n    App\\Pipeline\\Stages\\:\n        resource: '../src/Pipeline/Stages'\n        tags: [ 'app.my.custom.pipeline.stage' ]\n\n    app.my.custom.pipeline:\n        factory: [ 'Netresearch\\PipelineFactoryBundle\\Pipeline\\Factory', create ]\n        class: League\\Pipeline\\Pipeline\n        arguments:\n            $stages: !tagged_iterator 'app.my.custom.pipeline.stage'\n```\n\nVia [priority](https://symfony.com/doc/current/service_container/tags.html#tagged-services-with-priority), you can\ncontrol the order of the stages in this case.\n\n## Development\n\n### Testing\n\nRun the test suite:\n\n```bash\n$ composer test\n```\n\nGenerate code coverage report:\n\n```bash\n$ composer test-coverage\n```\n\nThe coverage report will be available in the `coverage/` directory. Open `coverage/index.html` in your browser to view detailed coverage information.\n\n### Code Style and Static Analysis\n\nUse the following commands to ensure the source code conforms to our **coding standards**\nand guidelines:\n\n* `composer phpcs` to check PHP related files against the PSR-12 code style\n* `composer rector` to automatically comply with coding standards, simplify and improve\n  code, and perform migrations (rules defined in `./rector.php`)\n* `composer phpstan` for type and bug checking\n\nRun the command `composer analysis` to run all static analysis checks at once.\n\nRun all quality checks (analysis + tests):\n\n```bash\n$ composer quality\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetresearch%2Fpipeline-factory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetresearch%2Fpipeline-factory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetresearch%2Fpipeline-factory/lists"}