msg91 / campaign
Official PHP Package for integrating MSG91 APIs for sending SMS, Email, Voice and Whatsapp communication. Easy to install and integrate to run marketing campaigns, transactional updates etc.
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 2
Open Issues: 0
pkg:composer/msg91/campaign
Requires
- php: >=7.1.0
This package is auto-updated.
Last update: 2025-10-22 17:16:07 UTC
README
require_once __DIR__ . '/vendor/autoload.php';
$client = new \Msg91\Campaign\Client('MSG91-AUTH-KEY');
$campaignList = $client->getCampaigns();
$campaignSlug = "demo";
$campaignFields = $client->getFields($campaignSlug);
$requestBody = $client->getRequestBody($campaignSlug);
$response = $client->runCampaign($campaignSlug, $requestBody);