Skip to content

Lemenio-com/sms-gateway-api-php-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Insert following repository into composer.json

"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/Lemenio-com/sms-gateway-api-php-client.git"
    }
]

Run command

$ composer require lemenio/sms-api-client

Usage

//client config
$config = [
    'username' => 'test',
    'password' => 'test',
    'uri' => 'localhost',
    'port' => 8080
];

//client initialization
$client = new \Lemenio\SmsApi\SmsApiClient(
    $config['uri'],
    $config['username'],
    $config['password'],
    $config['port']
);

//sending messages
$client->sendMessage(
    '123456789', //phone number
    'Test message' //message
);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages