{"id":17548887,"url":"https://github.com/xujiajun/tast-process","last_synced_at":"2025-10-25T07:36:50.705Z","repository":{"id":80697506,"uuid":"96839436","full_name":"xujiajun/tast-process","owner":"xujiajun","description":"An extension providing multi process for PHP 7","archived":false,"fork":false,"pushed_at":"2017-07-11T02:23:57.000Z","size":11,"stargazers_count":27,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-25T07:36:49.304Z","etag":null,"topics":["c","multi-process","php-extension","tast"],"latest_commit_sha":null,"homepage":null,"language":"C","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/xujiajun.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-07-11T02:00:31.000Z","updated_at":"2021-03-03T03:39:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"91298335-6a04-48b6-a5ee-03377140a92d","html_url":"https://github.com/xujiajun/tast-process","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xujiajun/tast-process","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xujiajun%2Ftast-process","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xujiajun%2Ftast-process/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xujiajun%2Ftast-process/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xujiajun%2Ftast-process/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xujiajun","download_url":"https://codeload.github.com/xujiajun/tast-process/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xujiajun%2Ftast-process/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280923473,"owners_count":26414233,"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","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["c","multi-process","php-extension","tast"],"created_at":"2024-10-21T02:46:13.091Z","updated_at":"2025-10-25T07:36:50.671Z","avatar_url":"https://github.com/xujiajun.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tast-process\nAn extension providing multi process for PHP 7\n\n## Requirements\n\n- PHP7.0+\n\n\n## Installation\n\n```\ngit clone https://github.com/xujiajun/tast-process.git\ncd tast-process\nphpize\n./configure\nmake \u0026\u0026 make install\n```\n\n### Quick Start\n\n```\n\u003c?php\n\nif (!extension_loaded('tast_process')) {\n    echo \"tast_process extension is not enabled\\n\";\n    exit(1);\n}\n\nfunction func1()\n{\n    echo \"call func1.start\".PHP_EOL;\n    sleep(5);\n    echo \"call func1.end\".PHP_EOL;\n}\nfunction func2()\n{\n    echo \"call func2.start\".PHP_EOL;\n    sleep(5);\n    echo \"call func2.end\".PHP_EOL;\n}\nfunction func3()\n{\n    echo \"call func3.start\".PHP_EOL;\n    sleep(5);\n    echo \"call func3.end\".PHP_EOL;\n}\n\n// multi process \ntast_process(['func1','func2','func3'],3);\n```\n\n\n## License\n[MIT Licensed](http://www.opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxujiajun%2Ftast-process","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxujiajun%2Ftast-process","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxujiajun%2Ftast-process/lists"}