Search by

wexample / php-remote

weeger

Registry, health checks and php-api client building for the external services a PHP app talks to

Package info

github.com/wexample/php-remote

pkg:composer/wexample/php-remote

Statistics

Installs: 370

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

2.0.1 2026-10-22 16:50 UTC

This package is auto-updated.

Last update: 2026-10-22 16:58:20 UTC


README

Version: 2.0.1

Registry, health checks and php-api client building for the external services a PHP app talks to

Table of Contents

php-remote keeps track of everything a PHP application talks to outside itself — an HTTP API, an SDK, a binary — whatever the framework around it. It holds what those have in common: a registry of the app's remotes and a status per remote (up, down, or unconfigured when its address or credentials are missing), with the time the check took.

It is not a transport. Anything implementing RemoteInterface is a remote, whatever library it talks through. For HTTP APIs built on wexample/php-api, it also builds the client from a plain definition — base URL, key, headers, ClientOptions — and can hold each request back until a rate limiter grants it.

The framework integration lives elsewhere: symfony-remote registers remotes through autoconfiguration, declares clients in YAML, backs the rate limiter with Symfony's and adds the remote:status command.