Download the PHP package nugsoft/signalbridge-laravel-sdk without Composer
On this page you can find all versions of the php package nugsoft/signalbridge-laravel-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nugsoft/signalbridge-laravel-sdk
More information about nugsoft/signalbridge-laravel-sdk
Files in nugsoft/signalbridge-laravel-sdk
Package signalbridge-laravel-sdk
Short Description Laravel SDK for SignalBridge SMS Gateway - Send SMS messages through multiple vendors with unified API
License MIT
Informations about the package signalbridge-laravel-sdk
SignalBridge Laravel SDK
Official Laravel SDK for SignalBridge — a unified multi-channel communication and payment gateway.
Send SMS, WhatsApp messages, and initiate Mobile Money transactions through a single, clean Laravel API. Built by Nugsoft.
Channels
| Channel | Status | Methods |
|---|---|---|
| SMS | ✅ Available | send(), sendBatch(), calculateSegments(), estimateCost() |
| ✅ Available | send(), sendTemplate() |
|
| Mobile Money | ✅ Available | initiate(), verify(), disburse() |
| USSD | 🔜 Planned | push(), session(), respond() |
Features
- Multi-channel API — SMS, WhatsApp, Mobile Money, and USSD (planned) through one SDK
- Channel-fluent interface —
SignalBridge::sms()->send(...),SignalBridge::whatsapp()->sendTemplate(...) - Backward compatible — existing
SignalBridge::sendSms()calls still work - Balance & transaction management — account-level operations on the main client
- Webhook management — full CRUD for outbound event webhooks
- Export — download messages and transactions as CSV
- Typed exceptions — specific exception classes for each error type
- Facade + DI support — use either style
- Laravel 10, 11, 12, 13 — tested on all current versions
- PHP 8.1+
Requirements
- PHP 8.1 or higher
- Laravel 10.0, 11.0, 12.0, or 13.0
- Guzzle HTTP 7.0+
Installation
Optionally publish the config file:
Configuration
Add to your .env:
Getting your token:
You can also generate tokens from the SignalBridge dashboard under Settings → API Tokens.
Usage
Quick Start
Dependency Injection
SMS
Send a Single SMS
Send a Batch of SMS
Segment Calculation & Cost Estimation
Encoding rules:
- GSM 7-bit (standard): 160 chars = 1 segment, 153 chars/segment thereafter
- Unicode (emoji, Arabic, Chinese…): 70 chars = 1 segment, 67 chars/segment thereafter
Send a Plain Message
Send a Template Message
Templates must be pre-approved in Meta Business Manager.
Mobile Money
Collect a Payment (Request-to-Pay)
Poll Transaction Status
Prefer webhooks over polling. Register a
callback_urlininitiate()or configure a webhook viacreateWebhook().
Disburse (Send Money)
Account Operations
These methods are on the main SignalBridgeClient and apply across all channels.
Balance
Transaction History
Export Data as CSV
Webhook Management
SignalBridge can POST events to your application when message or payment statuses change.
Available events: message.sent, message.delivered, message.failed, message.permanently_failed, payment.completed, payment.failed, * (all)
Exception Handling
Real-World Examples
OTP / Verification Code
Order Confirmation via WhatsApp Template
Collect Payment and Listen via Webhook
Batch SMS from Database
Fetch phone numbers from your database and send in batches. The API accepts up to 100 messages per request, so chunk large datasets accordingly.
Configuration Reference
| Variable | Required | Default | Description |
|---|---|---|---|
SIGNALBRIDGE_TOKEN |
✅ | — | API authentication token |
SIGNALBRIDGE_URL |
❌ | Production URL | API base URL |
SIGNALBRIDGE_TIMEOUT |
❌ | 30 |
HTTP request timeout (seconds) |
SIGNALBRIDGE_SENDER_ID |
❌ | — | Default SMS sender ID (max 11 chars) |
SIGNALBRIDGE_LOGGING |
❌ | true |
Log API errors to Laravel log |
Laravel compatibility: 10, 11, 12, 13
Testing
License
MIT. See LICENSE.
Credits
- Asaba William — CTO
Made with ❤️ by Nugsoft
All versions of signalbridge-laravel-sdk with dependencies
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/http Version ^10.0|^11.0|^12.0|^13.0
guzzlehttp/guzzle Version ^7.0