PHP SDK for the YClients REST API — companies, staff,
clients, records, auth — plus parsing for YClients' data-event webhook payloads
(Webhook\WebhookEvent; not covered by YClients' docs, confirmed against real production data).
Receiving the HTTP POST is your app's job — the SDK only decodes the body you hand it.
Framework-agnostic: talks PSR-18 (psr/http-client) + PSR-17 (psr/http-factory) rather than a
specific HTTP client. Your app needs an implementation of both installed (e.g. guzzlehttp/guzzle
guzzlehttp/psr7, orsymfony/http-client'sPsr18Client) —php-http/discoveryfinds it automatically, or pass your own client/factories toYclientsClient's constructor explicitly.
composer require dudev/yclients-php-sdkcomposer install
vendor/bin/phpstan analyse
vendor/bin/phpunit