rsflowhub/rsflowhub-php
A PHP client for the RSFlowHub API that simplifies authentication and service requests. Integrate RSFlowHub into Laravel or plain PHP applications with a lightweight wrapper, configurable HTTP options, and less boilerplate.
v1.0.0 is the first tagged release of rsflowhub/rsflowhub-php, so it establishes the stability baseline rather than documenting a change set — the release body is only a link to the commit list, which means the initial commit history is the changelog. Read it once before adopting.
composer require rsflowhub/rsflowhub-php (confirm the exact vendor/package string on Packagist; the GitHub org name and the Composer name are not guaranteed to match).composer.json (PHP version floor, PSR-4 namespace, Guzzle/HTTP client constraints), README.md (auth model and the minimal call example), then src/ root (client class, exception types, config/options object), then tests/ if shipped.php artisan tinker — authenticate, hit the cheapest list/ping endpoint the API offers, dump the raw response. Confirm credential shape (token vs. key/secret pair) and error format before writing any abstraction. Almost every early integration bug is an auth-header or base-URL mistake, and this isolates it in one step.$this->app->singleton(Client::class, fn () => new Client(config('services.rsflowhub'))). Constructing a client per call throws away connection reuse and makes timeout config impossible to reason about.config/services.php, never inline. Add a rsflowhub block reading env() values there and nowhere else — this survives php artisan config:cache, which direct env() calls in providers do not.RsFlowHubGateway class with methods named after your use cases (createRecord, fetchStatus) rather than after API endpoints. When the SDK changes method signatures — likely, given v1.0.0 — you edit one file.202, and let the queue absorb retries.MockHandler in a base TestCase; otherwise Http::fake() only helps if the SDK sits on Laravel's client (it likely does not). Store real response payloads as fixtures and replay them.Http:: escape hatch for endpoints the SDK hasn't wrapped yet. You will hit one during rollout; a small RsFlowHubRaw client using Laravel's HTTP client avoids forking the package for a missing method."1.0.0", not "^1.0") until you've read the source, and check the commit count and dates — a release cut from a handful of commits over a few days behaves very differently from one backed by months of work.connect_timeout and timeout, a hung upstream ties up PHP-FPM workers until the request limit kills them.composer.json.Log::debug in the decorator that captures status, headers, and body before translation — it saves hours against undocumented error envelopes.How can I help you explore Laravel packages today?