Hi there! How can we help you today?
Plugins
SH SMS Notifier
$25.00$32.00(In stock)
The Smart SMS Notifier plugin automatically sends SMS notifications for all email-triggered events in Botble CMS. It provides a robust gateway system, country-based routing, and a dynamic template engine.
Categories: Plugins
The Smart SMS Notifier plugin automatically sends SMS notifications for all email-triggered events in Botble CMS. It provides a robust gateway system, country-based routing, and a dynamic template engine.
Features
- Automatic Email-to-SMS: Automatically detect when an email is sent using Botble's
EmailHandlerand send a corresponding SMS. - Multi-Gateway Support: Built-in support for Twilio, Nexmo (Vonage), Fast2SMS, and a flexible Custom API gateway.
- Country-based Routing: Route SMS through different gateways based on the recipient's phone number prefix (e.g., +880, +91).
- Dynamic Templates: Edit SMS templates directly from the admin panel with support for variables like
{{customer_name}},{{order_id}}, etc. - SMS Logs: Track every SMS sent, including status and gateway responses.
- Queue Support: Offload SMS sending to Laravel queues for better performance.
How to Use
1. Initial Setup
- Navigate to Smart SMS Notifier > Settings.
- Enable the plugin using the Enable Smart SMS Notifier toggle.
- (Optional) Enable Use Queue.
- Set your Default Gateway.
2. Configuring Gateways
- Click Edit on your preferred gateway.
- Enter API credentials.
- Use Test SMS.
3. Custom Gateway Integration
If your provider is not built-in, you can add it dynamically:
- Go to Custom Gateways List.
- Add gateway names.
- Configure using
{phone}and{message}.
4. SMS Templates
- Go to SMS Templates.
- Customize messages.
- Use variables.
- Enable/disable templates.
5. Country-based Routing
- Go to Country Routing.
- Add routing rules.
- Example:
+880→ local gateway.
6. Monitoring Logs
- Visit SMS Logs.
- View details using Eye Icon.
Developer Integration (v3.0.x)
Smart SMS Notifier is designed for easy integration.
1. Create a Template
Add a .stpl file:platform/plugins/your-plugin/resources/sms-templates/ticket_created.stpl
Hi {{customer_name}}, your ticket #{{ticket_id}} has been created.2. Dispatch SMS from Code
use Platform\Plugins\SmartSmsNotifier\Facades\SmsHandler;
SmsHandler::setModule('your-plugin')
->setVariableValues([
'customer_name' => $user->name,
'ticket_id' => $ticket->id,
])
->sendUsingTemplate('ticket_created', $phone);
Gateway Development Guide
Follow these steps to add a new SMS provider.
1. Create the Gateway Class
class YourProviderGateway implements SmsGatewayInterface
{
public function send(string $phone, string $message): array
{
try {
$response = Http::post('https://api.yourprovider.com/send', [
'to' => $phone,
'msg' => $message,
]);
return [
'success' => $response->successful(),
'message' => $response->successful() ? 'Sent' : 'Failed',
'response' => $response.json(),
];
} catch (\Exception $e) {
return ['success' => false];
}
}
}
2. Register in SmsService
'yourprovider' => new YourProviderGateway()
Built with ❤️ for Botble CMS.
You may also like
Take it to your cart







