{"id":20732154,"url":"https://github.com/ailixter/gears-pipeline","last_synced_at":"2025-10-12T15:13:05.268Z","repository":{"id":56942710,"uuid":"206936529","full_name":"ailixter/gears-pipeline","owner":"ailixter","description":"The project that gears pipelines.","archived":false,"fork":false,"pushed_at":"2019-09-07T18:55:25.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-18T00:30:47.311Z","etag":null,"topics":["efficiency","every","filter","find","functional","iterable","map","pipeline","reduce","some"],"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/ailixter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-07T08:07:05.000Z","updated_at":"2019-09-07T18:55:27.000Z","dependencies_parsed_at":"2022-08-21T07:50:32.019Z","dependency_job_id":null,"html_url":"https://github.com/ailixter/gears-pipeline","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailixter%2Fgears-pipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailixter%2Fgears-pipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailixter%2Fgears-pipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailixter%2Fgears-pipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ailixter","download_url":"https://codeload.github.com/ailixter/gears-pipeline/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243013760,"owners_count":20221786,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["efficiency","every","filter","find","functional","iterable","map","pipeline","reduce","some"],"created_at":"2024-11-17T05:18:08.619Z","updated_at":"2025-10-12T15:13:00.234Z","avatar_url":"https://github.com/ailixter.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gears-pipeline\nThe project that gears pipelines.\n\nit runs a chain of handlers over iterables (iterators, generators, arrays).\nthe processing is memory efficient, no intermediate arrays are used.\n\n```php\n    echo PipelinedIteration::over(\n        [1, 2],\n        [3, 4],\n        [5, 6],\n        [7, 8]\n    )\n    -\u003emap(function ($a, $b, $c, $d) {\n        return [$a + $b, $c + $d];\n    })\n    -\u003ereduce(function ($r, $x, $y) {\n        return $r += $x * $y;\n    })\n    -\u003egetResult(); // 132\n```\n\n## implemented handlers\n\n- ``map(callable)``\n- ``filter(callable)``\n- ``reduce(callable, mixed = 0)``\n- ``find(callable)``\n- ``some(callable)``\n- ``every(callable)``","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Failixter%2Fgears-pipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Failixter%2Fgears-pipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Failixter%2Fgears-pipeline/lists"}