{"id":15028617,"url":"https://github.com/sweikenb/pcntl","last_synced_at":"2025-09-23T10:16:44.685Z","repository":{"id":57063002,"uuid":"304390371","full_name":"sweikenb/pcntl","owner":"sweikenb","description":"Simple and easy to use thread-based process manager for PHP based on default PCNTL and POSIX functions.","archived":false,"fork":false,"pushed_at":"2025-04-04T10:35:16.000Z","size":602,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-04T11:28:40.210Z","etag":null,"topics":["pcntl","php","php-library","php82","posix"],"latest_commit_sha":null,"homepage":"https://sweikenb.github.io/pcntl/","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/sweikenb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2020-10-15T16:46:42.000Z","updated_at":"2025-04-04T10:33:53.000Z","dependencies_parsed_at":"2022-08-24T10:10:25.393Z","dependency_job_id":"74e56c36-73eb-4988-8afe-daa3d512b9ce","html_url":"https://github.com/sweikenb/pcntl","commit_stats":{"total_commits":5,"total_committers":3,"mean_commits":"1.6666666666666667","dds":0.6,"last_synced_commit":"9da96ededa59ea11775a0647311c98d22ff2c86b"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sweikenb%2Fpcntl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sweikenb%2Fpcntl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sweikenb%2Fpcntl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sweikenb%2Fpcntl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sweikenb","download_url":"https://codeload.github.com/sweikenb/pcntl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248107099,"owners_count":21048854,"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":["pcntl","php","php-library","php82","posix"],"created_at":"2024-09-24T20:08:45.618Z","updated_at":"2025-09-23T10:16:39.635Z","avatar_url":"https://github.com/sweikenb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PCNTL Library\n\nSimple and easy to use thread-based process manager for PHP based on default PCNTL and POSIX functions.\n\n![Build status](https://github.com/sweikenb/pcntl/actions/workflows/phpunit.yml/badge.svg)\n\n**Further information:**\n\n- [Docs](https://sweikenb.github.io/pcntl/)\n- [Changelog](CHANGELOG.md)\n- [MIT License](LICENSE.txt)\n\n## Installation\n\n```php\ncomposer require \"sweikenb/pcntl\"\n```\n\n## Basic Usage\n\n```php\nuse Sweikenb\\Library\\Pcntl\\ProcessManager;\nuse Sweikenb\\Library\\Pcntl\\Api\\ChildProcessInterface;\nuse Sweikenb\\Library\\Pcntl\\Api\\ParentProcessInterface;\nuse Sweikenb\\Library\\Pcntl\\Api\\ProcessOutputInterface;\n\n$pm = new ProcessManager();\n$pm-\u003erunProcess(function(ChildProcessInterface $child, ParentProcessInterface $parent, ProcessOutputInterface $output) {\n    $output-\u003estdout(sprintf('Hello World from PID: %d', $child-\u003egetId()));\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsweikenb%2Fpcntl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsweikenb%2Fpcntl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsweikenb%2Fpcntl/lists"}