Coder Social home page Coder Social logo

smsgatewaycenter / send-bulk-sms-php-sdk Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 4.0 38 KB

Integrage SMS Gateway Center APIs from your application by installing our PHP SDK.

Home Page: https://www.smsgatewaycenter.com

License: MIT License

PHP 100.00%
sms api telecommunications bulksms smpp smpp-client smpp-server smpp-smsc htttp-sms sms-api

send-bulk-sms-php-sdk's Introduction

SMS Gateway Center Bulk SMS API Integration

A Robust API implies to an upgraded functionality of the customer application. At SMSGatewayCenter, we mean to convey Robust API utilizing different approach in which an API should be dealt with independently (just like a whole product itself) to be incorporated to give and expend data from unknown clients.

SMS Gateway Center PHP SDK

Integrage SMS Gateway Center APIs from your application by installing our PHP SDK.

Installation

To install the SDK, you will need to be using Composer in your project. If you aren't using Composer yet, it's really simple! Here's how to install composer:

curl -sS https://getcomposer.org/installer | php

The SMS Gateway Center API client uses Guzzle to send HTTP messages.

If you just want to get started quickly, you should run the following command:

composer require smsgatewaycenterphpsdk/smsgatewaycenterapi

Usage

Please ensure to use Composer's autoloader in your application to include dependencies automatically. Below examples are assumed that you have included in your file or just follow test documentation.

require_once '../../../../autoload.php';
use SMSGatewayCenterPhpSdk\object\sgc_sms;
$Auth = new \SMSGatewayCenterPhpSdk\object\sgc_auth();
$Auth->setUsername("test");
$Auth->setPassword("*****");

$Sms = new sgc_sms();
$Sms->setOutput("json");
//INITIATE HANDLE
$request = new \SMSGatewayCenterPhpSdk\api\sms\sgc_sms_send($Auth, $Sms);

To send out your first SMS Message using SMS Gateway Center SDK:

//SEND BATCH
$Sms->setSenderId("SMSGAT");
$Sms->setText("Hello  World");
$Sms->setPhone("919999999999");
$Sms->setMsgType("text");
$Sms->setDuplicateCheck("true");
echo $request->batch();

Please ensure to change sender name, text, phone as per your requirement.

Help or Comments?

send-bulk-sms-php-sdk's People

Contributors

smsgatewaycenter avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.