How telesign/php_telesign works
The Telesign Self-service PHP SDK exposes PHP clients for messaging, voice, phone intelligence, and risk scoring. An integrating application calls a service-specific client method; that client builds an API request through the shared REST client, which authenticates and sends it to Telesign and wraps the HTTP response. Separate utilities can verify callback signatures. The graph reflects the sampled client and transport code and README-described authentication; route-map details are not expanded because generated route sources were not provided.
Main entry points: RestClient.php REST Client · Response.php Response Wrapper · MessagingClient.php Messaging Client · VoiceClient.php Voice Client
Components 13
Communications
- Messaging Client
src/messaging/MessagingClient.php - Voice Client
src/voice/VoiceClient.php
Identity And Risk
- PhoneID Client
src/phoneid/PhoneIdClient.php - Score Client
src/score/ScoreClient.php
HTTP Transport
- REST Client
src/rest/RestClient.php - Response Wrapper
src/rest/Response.php - Route Loader
src/rest/RouteAutoLoader.php
SDK Utilities
- SDK Utilities
src/util.php - Version Config
src/config.php
Other components
- Integrating App
- Guzzle HTTP
- Telesign APIs
- Callback Sender
Connections 24
- Integrating App → Messaging Client: calls send/status
- Integrating App → Voice Client: calls call/status
- Integrating App → PhoneID Client: requests phone data
- Integrating App → Score Client: requests risk score
- Messaging Client → REST Client: posts or gets
- Voice Client → REST Client: posts or gets
- PhoneID Client → REST Client: posts
- Score Client → REST Client: posts
- REST Client → Guzzle HTTP: sends HTTP request
- Guzzle HTTP → Telesign APIs: transfers request
- Guzzle HTTP → REST Client: returns HTTP response
- REST Client → Response Wrapper: wraps response
- Response Wrapper → Messaging Client: returns result
- Response Wrapper → Voice Client: returns result
- Response Wrapper → PhoneID Client: returns result
- Response Wrapper → Score Client: returns result
- Messaging Client → Route Loader: loads route map
- Voice Client → Route Loader: loads route map
- PhoneID Client → Route Loader: loads route map
- Score Client → Route Loader: loads route map
- REST Client → Version Config: reads SDK version
- Integrating App → SDK Utilities: uses helpers
- Callback Sender → Integrating App: delivers callback
- Integrating App → SDK Utilities: verifies callback signature