iqbalhasandev / laravel-bulksmsbd
Integrate SMS system into your project easily with bulk sms bd's API via this plugin.
Requires
- guzzlehttp/guzzle: ^7.2
README
laravel-bulksmsbd - The Missing Bangladeshi 'bulksmsbd' SMS Service Provider package
Made with ❤️ by Iqbal Hasan
- Laravel: 5.6/5.7/5.8/6.0/7.0/8.0
- Author: IQBAL HASAN
- Website & Documentation:: https://iqbalhasandev.github.io/laravel-bulksmsbd/
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.
- Author E-mail: iqbalhasan.dev@gmail.com
- Author Facebook: https://www.facebook.com/iqbalhasan.dev/
- Author linkedin: https://www.linkedin.com/in/iqbalhasandev
- Author github: https://github.com/iqbalhasandev
- Author twitter: https://twitter.com/iqbalhasandev
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⭐⭐⭐⭐⭐