Skip to content

Latest commit

 

History

History
118 lines (74 loc) · 4.25 KB

README.md

File metadata and controls

118 lines (74 loc) · 4.25 KB

This package is abandoned and no longer maintained. The author suggests using the nanopkg/laravel-bulk-sms-bd package instead.

laravel-bulksmsbd - The Missing Bangladeshi 'bulksmsbd' SMS Service Provider package

Made with ❤️ by Iqbal Hasan

issues forks stars Latest Stable Version Total Downloads Latest Unstable Version license


Integrate SMS system into your project easily with bulk sms bd's API via this plugin.

Installation Steps

1. Require the Package

After creating your new Laravel application you can include the bulksmsbd package with the following command:

composer require iqbalhasandev/laravel-bulksmsbd

2. If you're using Laravel 5.5, this is all there is to do.

Should you still be on version 5.4 of Laravel, the final steps for you are to add the service provider of the package and alias the package. To do this open your config/app.php file.

Add a new line to the providers array:

iqbalhasandev\bulksmsbd\BulkSMSBDServiceProvider::class

3. Add BULK_SMSBD_USERNAME, BULK_SMSBD_PASSWORD to .env file.

// required
BULK_SMSBD_USERNAME={userName}
BULK_SMSBD_PASSWORD={password}

Overview

Look at one of the following topics to learn more about laravel-bulksmsbd

Usage

The bulksmsbd gives you the following methods to use:

BulkSMSBD::send()

Through the send method you can give your message delivery numbers and the contents of the message.

Below is an example of how to message a number

$number=01712345678;
$message='this is a demo Example form Laravel bulksmsBD Package.';
BulkSMSBD::send($number,$message);

If you want, you can send the same message to many numbers at once.

The following is an example:

$numbers=['01712345678','01712345679','01712345677'];
$message='this is a demo Example form Laravel bulksmsBD Package.';
BulkSMSBD::send($numbers,$message);

Configuration

If you want to change or publish the config file.

php artisan vendor:publish --provider="iqbalhasandev\bulksmsbd\BulkSMSBDServiceProvider"

Credits

  • IQBAL HASAN (the author of laravel-bulksmsbd package)
  • Contributors

Support

Hey dude! Don't forget to mail me if you have any problem with the package.

License

This package inherits the licensing of its parent framework, Laravel, and as such is open-sourced software licensed under the MIT license

Extra

If you want to contribute, you can

Thank you for using this package😘 If you like it, don't forget to give a star⭐⭐⭐⭐⭐