SDKs &
Libraries
Official SDKs
We provide official SDK libraries for the most popular programming languages. These SDKs handle authentication, request formatting, and error handling for you.
PHP SDK
v2.1.0Full-featured PHP client library with Laravel support.
Python SDK
v1.5.2Async-ready Python library with type hints.
Node.js SDK
v3.0.1TypeScript-first SDK with Promise-based API.
CLI Tool
Coming SoonCommand-line interface for quick API access.
Quick Install
Composer
composer require directsms/sdk
pip
pip install directsms
npm
npm install directsms
Common Features
Automatic Authentication
All SDKs handle token management and request signing automatically.
Retry Logic
Built-in exponential backoff and retry handling for transient errors.
Type Safety
Full type definitions for IDE autocompletion and error prevention.
Comprehensive Documentation
Each SDK includes detailed documentation and code examples.