{"id":15022522,"url":"https://github.com/php/pecl-networking-gearman","last_synced_at":"2025-06-21T18:09:05.030Z","repository":{"id":14274392,"uuid":"76211000","full_name":"php/pecl-networking-gearman","owner":"php","description":"PHP wrapper to libgearman","archived":false,"fork":false,"pushed_at":"2025-01-07T18:33:10.000Z","size":824,"stargazers_count":34,"open_issues_count":8,"forks_count":26,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-06-09T20:38:00.631Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pecl.php.net/package/gearman","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/php.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","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}},"created_at":"2016-12-12T01:16:17.000Z","updated_at":"2025-04-04T04:34:05.000Z","dependencies_parsed_at":"2024-04-14T20:45:48.988Z","dependency_job_id":"f6e9a1e1-c7fa-44bd-8b0d-09717aa9d524","html_url":"https://github.com/php/pecl-networking-gearman","commit_stats":{"total_commits":303,"total_committers":35,"mean_commits":8.657142857142857,"dds":0.4389438943894389,"last_synced_commit":"a52052cdd712a95091ce926be3bcdca41c730696"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/php/pecl-networking-gearman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php%2Fpecl-networking-gearman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php%2Fpecl-networking-gearman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php%2Fpecl-networking-gearman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php%2Fpecl-networking-gearman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/php","download_url":"https://codeload.github.com/php/pecl-networking-gearman/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php%2Fpecl-networking-gearman/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260833269,"owners_count":23069816,"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":[],"created_at":"2024-09-24T19:58:04.169Z","updated_at":"2025-06-21T18:08:59.984Z","avatar_url":"https://github.com/php.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"The Gearman PHP Extension provides a wrapper to libgearman. This\ngives the user the ability to write fully featured Gearman clients\nand workers in PHP, allowing them to quickly develop distributed\napplications.\n\nFor more information about Gearman, see: http://www.gearman.org/\n\nRequirements\n    * For the 0.8.* versions, libgearman v0.14 or greater\n    * For the 1.0.* versions, libgearman v0.21 or greater\n    * For the 1.1.* versions, libgearman v1.1.0 or greater\n    * For the 2.0.* versions, testing is done against libgearman v1.1.8 and PHP 7.0-7.4\n    * For the 2.1.* versions, testing is done against libgearman v1.1.18 and PHP 7.0-8.3\n\nThe Gearman PHP Extension requires the Gearman C server and library package\nto be installed. You can download the latest from:\n\nhttps://github.com/gearman/gearmand/releases\n\nSee the README file in that package for installation instructions. Once\nit is installed you can compile the Gearman PHP Extension. You'll need\nto make sure you have the PHP development packages installed first\n(if you have 'phpize' command you’re all set). You'll also probably\nwant the PHP command line interface installed as well (usually named\nphp-cli). After extracting the Gearman PHP tarball, just run:\n\nphpize\n./configure\nmake\nmake install\n\nYou then need to make PHP aware of the new extension by adding the\nfollowing line to your php.ini:\n\nextension=\"gearman.so\"\n\nYou can then test if the module is configured correctly with the\nPHP cli:\n\nphp --info | grep gearman\n\nTo run a simple example\n\ncd examples\n\n1. Start the gearmand server in a separate terminal:\n\ngearmand\n\n\n2. In another terminal, change to this source directory and run:\n\nphp examples/reverse_worker.php\n\n\n3. In another terminal, change to this source directory and run:\n\nphp examples/reverse_client.php\n\n\nYou should see some output from both the reverse client and worker\nscripts about the status and then a final result.\n\n\nHave fun!\n\nhttp://pecl.php.net/package/gearman\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp%2Fpecl-networking-gearman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphp%2Fpecl-networking-gearman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp%2Fpecl-networking-gearman/lists"}