Lightweight webhook-based integration for Shopify stores. Send SMS notifications when orders are placed or updated.
Upload the PHP files to any web server with PHP support.
Add the webhook URL in Shopify Settings → Notifications → Webhooks.
When orders come in, SMS is sent automatically to customers.
Simple PHP webhook handler. No database required. Works on any hosting.
Validates Shopify webhook signatures to ensure authenticity.
Edit message templates with order data placeholders.
All webhook events and SMS sends are logged for debugging.
# 1. Copy config.example.php to config.php
cp config.example.php config.php
# 2. Edit config.php with your settings
APITOSMS_TOKEN = 'your-api-token'
SHOPIFY_WEBHOOK_SECRET = 'your-webhook-secret'
# 3. Upload to your server
# Point Shopify webhook to: https://yourserver.com/webhook.php
In Shopify Admin, go to Settings → Notifications → Webhooks and add your webhook URL for "Order creation" events.