Skip to content

Simple PHP library (Unofficial) for GeezSMS API integration. Send OTP, single SMS, and bulk messages with ease.

License

Notifications You must be signed in to change notification settings

mdmasudsikdar71/geezsms-php-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeezSMS PHP Client

Latest Version on Packagist Total Downloads

GeezSMS PHP Client is a PHP library for interacting with the GeezSMS API. It provides an easy-to-use interface for sending OTP, SMS, and bulk SMS messages.

Installation

You can install the library using Composer:

composer require mdmasudsikdar71/geezsms-php-client

Usage

use MDMasudSikdar\Geezsms\GeezSmsClient;

// Initialize the GeezSmsClient with your token
$smsClient = new GeezSmsClient('TOKEN');

// Send an OTP to a phone number
$response = $smsClient->sendOtp('2519XXXXXXXX');

// Send an SMS to a phone number with a message
$response = $smsClient->sendSms('2519XXXXXXXX', 'Hello, this is a test message.');

// Send bulk SMS to multiple phone numbers with a common message and notification URL
$phones = ['2519XXXXXXXX', '2519XXXXXXXX'];
$response = $smsClient->sendBulk($phones, 'Hello, this is a bulk message.', 'https://example.com/notify');

Documentation

For more details and advanced usage, please refer to the official GeezSMS API documentation.

Security

If you discover any security-related issues, please email masudsikdar85@gmail.com instead of using the issue tracker.

License

This library is open-sourced software licensed under the MIT license.

About

Simple PHP library (Unofficial) for GeezSMS API integration. Send OTP, single SMS, and bulk messages with ease.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages