{"id":24694463,"url":"https://github.com/roadrunner-php/worker","last_synced_at":"2025-04-05T15:08:45.093Z","repository":{"id":43040497,"uuid":"317823642","full_name":"roadrunner-php/worker","owner":"roadrunner-php","description":"Base PHP worker for RoadRunner server.","archived":false,"fork":false,"pushed_at":"2024-11-23T08:32:48.000Z","size":191,"stargazers_count":20,"open_issues_count":0,"forks_count":5,"subscribers_count":7,"default_branch":"3.x","last_synced_at":"2025-04-03T05:28:44.649Z","etag":null,"topics":["hacktoberfest","php","roadrunner","worker"],"latest_commit_sha":null,"homepage":"https://roadrunner.dev/docs/php-worker","language":"PHP","has_issues":false,"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/roadrunner-php.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-12-02T10:16:52.000Z","updated_at":"2025-03-03T11:45:35.000Z","dependencies_parsed_at":"2024-02-07T19:46:47.508Z","dependency_job_id":"fcc128f1-c85b-473c-b9d4-b8ee2e48a7a2","html_url":"https://github.com/roadrunner-php/worker","commit_stats":null,"previous_names":["spiral/roadrunner-worker"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roadrunner-php%2Fworker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roadrunner-php%2Fworker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roadrunner-php%2Fworker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roadrunner-php%2Fworker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roadrunner-php","download_url":"https://codeload.github.com/roadrunner-php/worker/tar.gz/refs/heads/3.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247353746,"owners_count":20925329,"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":["hacktoberfest","php","roadrunner","worker"],"created_at":"2025-01-26T23:59:47.741Z","updated_at":"2025-04-05T15:08:45.067Z","avatar_url":"https://github.com/roadrunner-php.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://roadrunner.dev\" target=\"_blank\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://github.com/roadrunner-server/.github/assets/8040338/e6bde856-4ec6-4a52-bd5b-bfe78736c1ff\"\u003e\n    \u003cimg align=\"center\" src=\"https://github.com/roadrunner-server/.github/assets/8040338/040fb694-1dd3-4865-9d29-8e0748c2c8b8\"\u003e\n  \u003c/picture\u003e\n\u003c/a\u003e\n\u003cp align=\"center\"\u003e\n \u003ca href=\"https://packagist.org/packages/spiral/roadrunner\"\u003e\u003cimg src=\"https://poser.pugx.org/spiral/roadrunner/version\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://pkg.go.dev/github.com/spiral/roadrunner?tab=doc\"\u003e\u003cimg src=\"https://godoc.org/github.com/spiral/roadrunner?status.svg\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://github.com/spiral/roadrunner/actions\"\u003e\u003cimg src=\"https://github.com/spiral/roadrunner/workflows/CI/badge.svg\" alt=\"\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://goreportcard.com/report/github.com/spiral/roadrunner\"\u003e\u003cimg src=\"https://goreportcard.com/badge/github.com/spiral/roadrunner\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://scrutinizer-ci.com/g/spiral/roadrunner/?branch=master\"\u003e\u003cimg src=\"https://scrutinizer-ci.com/g/spiral/roadrunner/badges/quality-score.png\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://discord.gg/TFeEmCs\"\u003e\u003cimg src=\"https://img.shields.io/badge/discord-chat-magenta.svg\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://packagist.org/packages/spiral/roadrunner\"\u003e\u003cimg src=\"https://img.shields.io/packagist/dd/spiral/roadrunner?style=flat-square\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nRoadRunner is an open-source (MIT licensed) high-performance PHP application server, load balancer, and process manager.\nIt supports running as a service with the ability to extend its functionality on a per-project basis.\n\nRoadRunner includes PSR-7/PSR-17 compatible HTTP and HTTP/2 server and can be used to replace classic Nginx+FPM setup with much greater performance and flexibility.\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://roadrunner.dev/\"\u003e\u003cb\u003eOfficial Website\u003c/b\u003e\u003c/a\u003e | \n\t\u003ca href=\"https://docs.roadrunner.dev\"\u003e\u003cb\u003eDocumentation\u003c/b\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nRepository:\n--------\n\nThis repository contains the common codebase for all binary roadrunner workers. \nCheck [spiral/roadrunner](https://github.com/spiral/roadrunner) to access application\nserver and [spiral/roadrunner-http](https://github.com/spiral/roadrunner-http) for PSR-7 compatible worker.\n\nYou can use the convenient installer to download the latest available compatible version of RoadRunner assembly:\n\n```bash\n$ composer require spiral/roadrunner-cli --dev\n```\n\nTo download latest version of application server:\n\n```bash\n$ vendor/bin/rr get\n```\n\nExample:\n-------\n\nTo init abstract RoadRunner worker:\n\n```php\n\u003c?php\n\nrequire __DIR__ . '/vendor/autoload.php';\n\n// Create a new Worker from global environment\n$worker = \\Spiral\\RoadRunner\\Worker::create();\n\nwhile ($data = $worker-\u003ewaitPayload()) {\n    // Received Payload\n    var_dump($data);\n\n    // Respond Answer\n    $worker-\u003erespond(new \\Spiral\\RoadRunner\\Payload('DONE'));\n}\n```\n\n\u003ca href=\"https://spiral.dev/\"\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/773481/220979012-e67b74b5-3db1-41b7-bdb0-8a042587dedc.jpg\" alt=\"try Spiral Framework\" /\u003e\n\u003c/a\u003e\n\nTesting:\n--------\n\nThis codebase is automatically tested via host repository - [spiral/roadrunner](https://github.com/spiral/roadrunner).\n\nLicense:\n--------\n\nThe MIT License (MIT). Please see [`LICENSE`](./LICENSE) for more information. Maintained by [Spiral Scout](https://spiralscout.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froadrunner-php%2Fworker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froadrunner-php%2Fworker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froadrunner-php%2Fworker/lists"}