alexeevdv/sumsub-client-bundle
alexeevdv/sumsub-client) into a clean, bundle-based structure, reducing boilerplate.alexeevdv/sumsub-client) handles HTTP requests, retries, and error parsing, reducing custom error-handling logic.symfony/framework-bundle ensures compatibility with most Symfony apps.SUMSUB_*) for credentials align with 12-factor app principles, easing deployment (e.g., Docker, Kubernetes).http-interop and guzzle-psr18-adapter, ensuring interoperability with modern PHP HTTP clients. This avoids vendor lock-in.sumsub-client (v0.4.0) may also be stale.
SumSubClientInterface).%env() and .env files.alexeevdv/sumsub-client directly.SumSubClient::verifyDocument(), SumSubClient::verifyIdentity().CircuitBreaker) for SumSub API failures.symfony/framework-bundle constraint.HttpFoundation changes).HttpKernel. Consider:
SumSubWebhookSubscriber for event-driven flows.sumsub_verification_id field)./sumsub/webhook) with a controller/middleware.X-Sumsub-Signature header).VerificationCompletedEvent) for business logic.RetryStrategy).alexeevdv/sumsub-client to a specific version.alexeevdv/sumsub-client for breaking changes.composer why-not to check for incompatible updates.config/packages/dev/sumsub_client.yaml) to avoid environment-specific issues.monolog for the sumsub_client channel to log API calls/responses.monolog:
channels: ['sumsub_client']
handlers:
sumsub_client:
type: stream
path: "%kernel.logs_dir%/sumsub.log"
level: debug
ServerBag for request deduplication).sumsub_verification_id + metadata).| Failure Scenario | Impact | Mitigation |
|---|---|---|
| SumSub API downtime | Verification failures | Fallback to manual review or cached responses. |
| Webhook delivery failures | Stale verification status | Implement retry |
How can I help you explore Laravel packages today?