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.

Maintainers

Package info

github.com/Walkover-Web-Solution/MSG91-php-package

pkg:composer/msg91/campaign

Statistics

Installs: 9

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0.3 2022-07-05 03:16 UTC

This package is auto-updated.

Last update: 2026-02-22 18:06:13 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);