From 1de6ba5c6735e42b5f462c0b7489bcf172ccdc08 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 1 Jul 2026 01:33:38 +0900 Subject: feat(php-rpc): query real PHP version and binary for --version Add a minimal shirabe-php-rpc crate that spawns the system PHP as a child process and asks it for runtime information over a Unix domain socket, then use it to fill the `--version` PHP line with the real \PHP_VERSION and \PHP_BINARY instead of fixed placeholder values. See docs/dev/php-rpc.md for the design and scope. Co-Authored-By: Claude Opus 4.8 (1M context) --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index c676f7d..162596d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,7 @@ shirabe = { path = "crates/shirabe" } shirabe-class-map-generator = { path = "crates/shirabe-class-map-generator" } shirabe-external-packages = { path = "crates/shirabe-external-packages" } shirabe-metadata-minifier = { path = "crates/shirabe-metadata-minifier" } +shirabe-php-rpc = { path = "crates/shirabe-php-rpc" } shirabe-php-shim = { path = "crates/shirabe-php-shim" } shirabe-semver = { path = "crates/shirabe-semver" } shirabe-spdx-licenses = { path = "crates/shirabe-spdx-licenses" } -- cgit v1.3.1