From 336418c4fd59ad6d387eb488503de0b2d5387bb8 Mon Sep 17 00:00:00 2001 From: roxblnfk Date: Fri, 9 Oct 2026 20:33:16 +0400 Subject: [PATCH 1/2] feat: support RoadRunner v3 RoadRunner v3 leaves the calendar versioning behind: the package now requires it and moves the roadrunner-php dependencies to the releases built for v3. roadrunner-api-dto 2.0 only breaks Centrifugo API messages this package does not touch, so both 1.18 and 2.x are accepted and users are not forced onto the new major. Assisted-By: Claude Opus 5.5 --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index a80a920..f23dc48 100644 --- a/composer.json +++ b/composer.json @@ -36,9 +36,9 @@ ], "require": { "php": ">=8.1", - "roadrunner-php/roadrunner-api-dto": "^1.4", - "spiral/roadrunner": "^2023.2 || ^2024.1 || ^2025.1", - "spiral/goridge": "^4.0", + "roadrunner-php/roadrunner-api-dto": "^1.18 || ^2.0", + "spiral/roadrunner": "^3.0", + "spiral/goridge": "^4.3", "google/protobuf": "^3.7 || ^4.0" }, "autoload": { From bf6150ea5d1febfbeef758a32691e12f9a70b820 Mon Sep 17 00:00:00 2001 From: roxblnfk Date: Sat, 10 Oct 2026 16:29:21 +0400 Subject: [PATCH 2/2] feat: rename the package to roadrunner/services build: depend on roadrunner/* packages chore: polish composer.json metadata The package keeps its version line and replaces spiral/roadrunner-services with self.version, so packages that still require spiral/roadrunner-services are satisfied by roadrunner/services and both names never get installed together. Namespaces stay unchanged. Assisted-By: Claude Opus 5.5 --- .github/.release-please-config.json | 2 +- README.md | 10 +++--- composer.json | 50 ++++++++++++++++++----------- 3 files changed, 37 insertions(+), 25 deletions(-) diff --git a/.github/.release-please-config.json b/.github/.release-please-config.json index ad5a9ed..3b595d9 100644 --- a/.github/.release-please-config.json +++ b/.github/.release-please-config.json @@ -3,7 +3,7 @@ "release-type": "php", "packages": { ".": { - "package-name": "spiral/roadrunner-services", + "package-name": "roadrunner/services", "changelog-path": "/CHANGELOG.md" } }, diff --git a/README.md b/README.md index 18eea15..b48f380 100644 --- a/README.md +++ b/README.md @@ -28,13 +28,13 @@ This package lets a PHP application create, restart, terminate and inspect [Road ### Installation ```bash -composer require spiral/roadrunner-services +composer require roadrunner/services ``` -[![PHP](https://img.shields.io/packagist/php-v/spiral/roadrunner-services.svg?style=flat-square&logo=php)](https://packagist.org/packages/spiral/roadrunner-services) -[![Latest Version on Packagist](https://img.shields.io/packagist/v/spiral/roadrunner-services.svg?style=flat-square&logo=packagist)](https://packagist.org/packages/spiral/roadrunner-services) -[![License](https://img.shields.io/packagist/l/spiral/roadrunner-services.svg?style=flat-square)](LICENSE) -[![Total Downloads](https://img.shields.io/packagist/dt/spiral/roadrunner-services.svg?style=flat-square)](https://packagist.org/packages/spiral/roadrunner-services/stats) +[![PHP](https://img.shields.io/packagist/php-v/roadrunner/services.svg?style=flat-square&logo=php)](https://packagist.org/packages/roadrunner/services) +[![Latest Version on Packagist](https://img.shields.io/packagist/v/roadrunner/services.svg?style=flat-square&logo=packagist)](https://packagist.org/packages/roadrunner/services) +[![License](https://img.shields.io/packagist/l/roadrunner/services.svg?style=flat-square)](LICENSE) +[![Total Downloads](https://img.shields.io/packagist/dt/roadrunner/services.svg?style=flat-square)](https://packagist.org/packages/roadrunner/services/stats) ### Configuration diff --git a/composer.json b/composer.json index a13d6c7..9fb28b8 100644 --- a/composer.json +++ b/composer.json @@ -1,30 +1,39 @@ { - "name": "spiral/roadrunner-services", + "name": "roadrunner/services", "type": "library", - "description": "RoadRunner services manager", + "description": "Manage RoadRunner services from PHP: create, start, stop and inspect processes supervised by the RoadRunner service plugin", + "keywords": [ + "roadrunner", + "services", + "service-manager", + "process", + "supervisor", + "rpc" + ], "license": "MIT", "authors": [ { - "name": "Pavel Buchnev (butschster)", - "email": "pavel.buchnev@spiralscout.com" + "name": "Pavel Buchnev", + "homepage": "https://github.com/butschster" }, { - "name": "Aleksei Gagarin (roxblnfk)", - "email": "alexey.gagarin@spiralscout.com" + "name": "Aleksei Gagarin", + "homepage": "https://github.com/roxblnfk" }, { - "name": "Maksim Smakouz (msmakouz)", - "email": "maksim.smakouz@spiralscout.com" + "name": "Maksim Smakouz", + "homepage": "https://github.com/msmakouz" }, { "name": "RoadRunner Community", - "homepage": "https://github.com/spiral/roadrunner/graphs/contributors" + "homepage": "https://github.com/roadrunner-server/roadrunner/graphs/contributors" } ], "homepage": "https://roadrunner.dev/", "support": { - "docs": "https://docs.roadrunner.dev", + "docs": "https://docs.roadrunner.dev/docs/plugins/service", "issues": "https://github.com/roadrunner-server/roadrunner/issues", + "source": "https://github.com/roadrunner-php/services", "forum": "https://forum.roadrunner.dev/", "chat": "https://discord.gg/V6EK4he" }, @@ -36,15 +45,10 @@ ], "require": { "php": ">=8.2", - "roadrunner-php/roadrunner-api-dto": "^1.18 || ^2.0", - "spiral/roadrunner": "^3.0", - "spiral/goridge": "^4.3", - "google/protobuf": "^3.7 || ^4.0 || ^5.0" - }, - "autoload": { - "psr-4": { - "Spiral\\RoadRunner\\Services\\": "src" - } + "google/protobuf": "^3.7 || ^4.0 || ^5.0", + "roadrunner/api-dto": "^2.1", + "roadrunner/goridge": "^4.5", + "spiral/roadrunner": "^3.0" }, "require-dev": { "mockery/mockery": "^1.5", @@ -53,6 +57,14 @@ "testo/testo": "^0.10.55", "vimeo/psalm": "^6 || ^7" }, + "replace": { + "spiral/roadrunner-services": "self.version" + }, + "autoload": { + "psr-4": { + "Spiral\\RoadRunner\\Services\\": "src" + } + }, "autoload-dev": { "psr-4": { "Spiral\\RoadRunner\\Services\\Tests\\": "tests"