Install and configure
The package stays lightweight and avoids extra HTTP dependencies. Installation is one composer command and configuration is env-first.
Keep ZINDUA_API_KEY on the server only. Never expose it in browser JavaScript or mobile clients.
composer require zindua/sdk # .env ZINDUA_API_KEY=znd_test_your_key_here
Use one client across channels
Email and WhatsApp use the same send() method. Channel selection remains explicit but API shape remains stable.
Typed local validation catches common mistakes before network calls, reducing noise in production logs.
Framework integration patterns
In Laravel, register the Client as a singleton. In Symfony, wire it as a service. In WordPress custom integrations, bootstrap it from plugin or mu-plugin context.
When teams share templates across stacks, this parity with Node SDK reduces drift and keeps template governance simpler.