caylof/rpc

a simple PHP RPC library

Maintainers

Package info

github.com/caylof/php-rpc

pkg:composer/caylof/rpc

Statistics

Installs: 25

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.4 2024-01-24 02:15 UTC

This package is auto-updated.

Last update: 2026-03-01 00:42:17 UTC


README

Install

composer require caylof/rpc

Example

see examples folder

start example server

docker run -it --name eg-rpc --rm -v D:\code\github\php-rpc:/code -w /code caylof/php:8.2.4-cli-alpine /bin/sh

/code # composer install
/code # php ./examples/rpc_server.php start

run example client

docker exec -it eg-rpc /bin/sh

/code # php ./examples/rpc_client.php