Agent PHP SDK
Use the approved 6MM Agent PHP package from backend services for user binding, transfers, entry URLs, and webhook verification.
Runtime
The PHP SDK package source and approved version are provided during partner onboarding. Do not assume that the package is available from public Packagist; configure the Composer repository supplied for your organization.
Supported scenarios
Backend integration rules
- Load
apiSecretfrom a secret manager or protected environment variable. - Keep user binding, transfer, signing, and webhook logic out of browser code.
- Use decimal strings for asset amounts to avoid floating-point rounding.
- Reuse the original
agentOrderNowhen querying an uncertain transfer result. - Verify webhook signatures against the raw request body before decoding or changing it.
Next steps
- PHP Quick Start: configure Composer and initialize the client.
- Agent SDK Overview: review the complete backend integration flow.
- Secrets & Signing: protect credentials and understand HMAC signing.
- Webhooks & Idempotency: process repeated callbacks safely.