{"id":19124665,"url":"https://github.com/duncan3dc/fork-helper","last_synced_at":"2025-04-05T20:06:14.949Z","repository":{"id":17689911,"uuid":"20495867","full_name":"duncan3dc/fork-helper","owner":"duncan3dc","description":"A PHP helper to fork processes and allow multi-threading","archived":false,"fork":false,"pushed_at":"2024-07-29T15:08:44.000Z","size":933,"stargazers_count":73,"open_issues_count":3,"forks_count":25,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-03-29T19:02:06.679Z","etag":null,"topics":["fork","multi-threading","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/duncan3dc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2014-06-04T18:57:51.000Z","updated_at":"2025-03-03T17:37:10.000Z","dependencies_parsed_at":"2024-11-09T05:30:27.417Z","dependency_job_id":"b8820fa7-ee6e-4e27-8172-a2d0d0565349","html_url":"https://github.com/duncan3dc/fork-helper","commit_stats":{"total_commits":95,"total_committers":5,"mean_commits":19.0,"dds":0.04210526315789476,"last_synced_commit":"5c6aae571c766a1a575c53f12c4077a3166798f3"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duncan3dc%2Ffork-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duncan3dc%2Ffork-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duncan3dc%2Ffork-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duncan3dc%2Ffork-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duncan3dc","download_url":"https://codeload.github.com/duncan3dc/fork-helper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247393569,"owners_count":20931812,"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":["fork","multi-threading","php"],"created_at":"2024-11-09T05:29:49.046Z","updated_at":"2025-04-05T20:06:14.917Z","avatar_url":"https://github.com/duncan3dc.png","language":"PHP","readme":"fork-helper\n===========\n\nSimple class to fork processes in PHP and allow multi-threading.  \n\nFull documentation is available at https://duncan3dc.github.io/fork-helper/  \nPHPDoc API documentation is also available at [https://duncan3dc.github.io/fork-helper/api/](https://duncan3dc.github.io/fork-helper/api/namespaces/duncan3dc.Forker.html)  \n\n[![release](https://poser.pugx.org/duncan3dc/fork-helper/version.svg)](https://packagist.org/packages/duncan3dc/fork-helper)\n[![build](https://github.com/duncan3dc/fork-helper/workflows/buildcheck/badge.svg?branch=main)](https://github.com/duncan3dc/fork-helper/actions?query=branch%3Amain+workflow%3Abuildcheck)\n[![coverage](https://codecov.io/gh/duncan3dc/fork-helper/graph/badge.svg)](https://codecov.io/gh/duncan3dc/fork-helper)\n\n\nQuick Example\n-------------\n\nRun some code asynchronously:\n```php\n$fork = new \\duncan3dc\\Forker\\Fork;\n\n$fork-\u003ecall(function () {\n    for ($i = 1; $i \u003c= 3; $i++) {\n        echo \"Process A - \" . $i . \"\\n\";\n        sleep(1);\n    }\n});\n$fork-\u003ecall(function () {\n    for ($i = 1; $i \u003c 3; $i++) {\n        echo \"Process B - \" . $i . \"\\n\";\n        sleep(1);\n    }\n});\n\nsleep(1);\necho \"Waiting for the threads to finish...\\n\";\n$fork-\u003ewait();\necho \"End\\n\";\n```\n\n_Read more at https://duncan3dc.github.io/fork-helper/_\n\n\nChangelog\n---------\nA [Changelog](CHANGELOG.md) has been available since version 2.0.0\n\n\nWhere to get help\n-----------------\nFound a bug? Got a question? Just not sure how something works?  \nPlease [create an issue](https//github.com/duncan3dc/fork-helper/issues) and I'll do my best to help out.  \nAlternatively you can catch me on [Twitter](https://twitter.com/duncan3dc)\n\n\n## duncan3dc/fork-helper for enterprise\n\nAvailable as part of the Tidelift Subscription\n\nThe maintainers of duncan3dc/fork-helper and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/packagist-duncan3dc-fork-helper?utm_source=packagist-duncan3dc-fork-helper\u0026utm_medium=referral\u0026utm_campaign=readme)\n","funding_links":["https://tidelift.com/subscription/pkg/packagist-duncan3dc-fork-helper?utm_source=packagist-duncan3dc-fork-helper\u0026utm_medium=referral\u0026utm_campaign=readme"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduncan3dc%2Ffork-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduncan3dc%2Ffork-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduncan3dc%2Ffork-helper/lists"}