Skip to content

Claimful docs

PHP SDK

Server-side helpers for PHP integrations.

Install

composer require claimful/sdk. Create a Claimful\Sdk\Client in server-side checkout code or in a platform plugin.

Writes

The PHP client owns API auth, idempotency keys, retry handling, and typed rate-limit exceptions. WooCommerce and Magento wrappers call this SDK.

Quote contract

The PHP SDK accepts camelCase SDK input and serializes quote requests to the Laravel API fields protection_program_id, order_id, and order_amount_cents.

Webhooks

Use $client->webhooks->verify(...) with raw request content and the X-Claimful-Signature header.

Cookie choices

Analytics and marketing scripts stay off until you choose them. Strictly necessary cookies keep security, forms, and consent settings working.

Cookie Policy