mysoftit/bulksmsdhaka

Bulk SMS Dhaka Package for Laravel - Easy to SMS integration with the SMS Gateway from bulksmsdhaka.com Bulk send messages, check balances, get delivery reports, and manage SMS effortlessly in your Laravel applications.

1.0.0 2024-12-31 17:18 UTC

This package is auto-updated.

Last update: 2025-06-05 18:24:59 UTC


README

Bulk SMS Dhaka Package for Laravel - Easy to SMS integration with the SMS Gateway from bulksmsdhaka.com Bulk send messages, check balances, get delivery reports, and manage SMS effortlessly in your Laravel applications.

The Bulk SMS Dhaka Laravel package provides convenient access to the bulksmsdhaka.com REST API from php applications.

Sign up for a free bulksmsdhaka.com account today and get your API Key from our advanced SMS platform. also, you can check all advanced API documents!

Example

Check out the API documentation and other language code examples

Features

  • Send SMS messages through the bulksmsdhaka.com sms gateway.
  • Check account balance.
  • Retrieve SMS delivery reports.

Requirements

  • Laravel Framework 7.x
  • PHP 7.2 or higher

Installation

Install the package via Composer:

composer require mysoftit/bulksmsdhaka

Set your SMS API key in the .env file:

BULKSMSDHAKA_API_KEY=your-api-key

Note: Ensure to replace placeholder your-api-key with your actual API key

Usage

use mysoftit\bulksmsdhaka\BulkSMS; // Import the BulkSMSDhaka class

// Create an instance of the class
$sms = new BulkSMS();
try {

    // Send SMS
    $response = $sms->sendSMS(
        "Hello, this is a test SMS! from Bulksmsdhaka.com", //Message
        "01941698614" //Receiver No
    );

   // Check your account SMS balance
    $balance = $sms->getBalance();

} catch (Exception $e) {
    // handle $e->getMessage();
}

License

This package is open-source software licensed under the MIT license

Contribution

Contributions are welcome! Feel free to submit issues or open a pull request.

Support

If you have any questions or feedback, please open an issues or open a pull request.