Loading repository data…
Loading repository data…
arif98741 / repository
Xenon\LaravelBDSms is a laravel based multi sms gateway package for sending text message to Bangladeshi mobile numbers using several gateways like sslsms, greenweb, dianahost, metronet, boomcast, bulksmsbd, adn, mobireach, tense, banglalink. You can see installation from https://youtu.be/i2wjLNoIvIo
Xenon\LaravelBDSms is a sms gateway package for sending text message to Bangladeshi mobile numbers using several gateways for Laravel Framework. You can watch installation process from youtube.
composer require xenon/laravelbdsms
Publish the package using command
php artisan vendor:publish --provider=Xenon\LaravelBDSms\LaravelBDSmsServiceProvider --tag="migrations"
php artisan vendor:publish --provider=Xenon\LaravelBDSms\LaravelBDSmsServiceProvider --tag="config"
php artisan migrate
Select Vendor From Console
php artisan config:cache && php artisan migrate
Note: For sending message using facade you must have to set .env credentials and set default provider; Find .env credentials for different providers from inside config/sms.php)
Make sure you have jobs table and other jobs related functionalities enabled
You can generate log for every sms api request and save in database or file. For doing this. Follow below points
database, file). database is default. You can change it from config/sms.php'sms_log' => true,database driver
log_driver =>'database' from config/sms.phpphp artisan migrate. This will create lbs_log table in your databasefile driver
log_driver =>'file' from config/sms.phpOtherwise, if you want more control, you can use the underlying sender object. This will not touch any laravel facade or service provider.
We have tried to add most of the gateways of Bangladesh in this package as much as possible. But still if you don't find your expected gateway in this list, then use Custom Gateway using following code snippet.
| Provider | Credentials Required For Sending SMS | Support Multiple | Status | Comment | Contact |
|---|---|---|---|---|---|
| AjuraTech | apikey, secretkey , callerID | - | Done | Uses Reve SMS API (smpp.revesms.com) | - |
| Adn | api_key, api_secret, messsage_type, request_type | - | Done | - | - |
| Alpha | api_key | Yes | Done | - | - |
| Banglalink | userID, passwd , sender | - | Done | - | - |
| BDBulkSMS | token | - | Done | - | - |
| BoomCast | masking , userName , password | - | Done | - | - |
| BulksmsBD | api_key,senderid | - | Done | - | - |
| BulkSmsDhaka | api_key, callerID | - | Done | - | - |
| CustomGateway | provide necessary token/api_key/others based on requirements | - | Done | Be careful using this and test based on several scenario | - |
| DhorolaSms | apikey, sender | - | Done | - | - |
| DianaHost | api_key, type, senderid | - | Done | - | - |
| DianaSMS | ApiKey, ClientId, SenderId | - | Done | - | - |
| DurjoySoft | ApiKey, SenderID | - | Done | - | - |
| EAmarseba | x-app-key, x-app-secret, is_masking, masking_name | - | Done | - | - |
| ElitBuzz | api_key, type, senderid, type | - | Done | not tested yet in live | - |
| Esms | api_token, sender_id | - | Done | - | - |
| Grameenphone | username, password, messagetype | - | Done | not tested yet in live | - |
| Infobip | user, password | - | Done | not tested yet in live | - |
| Lpeek | acode, apiKey, requestID, masking | - | Done | - | - |
| MDL | api_key, type, senderid | - | Done | not tested yet in live | - |
| Metronet | api_key, mask | Done | - | - |
| MimSms | ApiKey, UserName, SenderName | - | Done | - | - |
| Mobireach | Username,Password, From | - | Done | - | - |
| Muthofun | sender_id | Yes | Done | - | - |
| NovocomBD | ApiKey , ClientId , SenderId | - | Done | - | - |
| OnnoRokomSMS | userName, userPassword, type, maskName, campaignName | - | Done | not tested yet in live | - |
| QuickSms | api_key, senderid |