senderkit/senderkit-symfony integrates the
PHP SDK core with Symfony’s service container and HTTP
foundation.
Install
config/bundles.php:
Configuration
Createconfig/packages/senderkit.yaml:
symfony/http-client is installed, the bundle automatically uses the
framework’s PSR-18 HTTP client. Any other PSR-18 client discovered by
php-http/discovery works too.
Usage
AutowireSenderKit\Client into any service or controller:
Client are available — see the PHP SDK core for
the full API (sendRaw, sendBatch, context, messages, templates).
Webhooks
InjectSenderKit\Symfony\Webhook\RequestVerifier and call verify():
RequestVerifier::verify() throws:
SignatureVerificationException— invalid or expired signature.\RuntimeException—webhook_secretis not configured.
PHP SDK core
Client API, error handling, and bare-PHP webhook verifier.
Laravel
Notification channel, mail transport, and webhook middleware.
Webhooks
Event types and payload schema.
Authentication
API keys, scopes, and test vs. live mode.