{"id":15309207,"url":"https://github.com/arif98741/laravelbdsms","last_synced_at":"2025-12-24T07:28:48.410Z","repository":{"id":42357637,"uuid":"380983355","full_name":"arif98741/laravelbdsms","owner":"arif98741","description":"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","archived":false,"fork":false,"pushed_at":"2025-03-05T15:18:33.000Z","size":3294,"stargazers_count":143,"open_issues_count":1,"forks_count":52,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-22T23:05:36.205Z","etag":null,"topics":["alpha-sms","bangladeshi-sms-gateway","bd-sms-gateway","boomcast","bulksms-api","bulksmsbd","gateway-api","infobip","infobip-api","laravel-sms","laravel-sms-gateway","onnorokom-sms-service","php","php-sms-gateway","sms","sms-gateway","sms-gateway-package","sslcommerz","sslcommerz-api-laravel"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arif98741.png","metadata":{"files":{"readme":"readme.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":null,"patreon":"arif98741","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"https://www.buymeacoffee.com/arif98741"}},"created_at":"2021-06-28T09:54:42.000Z","updated_at":"2025-05-04T11:01:24.000Z","dependencies_parsed_at":"2024-05-05T07:27:35.127Z","dependency_job_id":"e92c546f-1f7b-4a14-bf73-1dd3370b35e9","html_url":"https://github.com/arif98741/laravelbdsms","commit_stats":{"total_commits":265,"total_committers":13,"mean_commits":"20.384615384615383","dds":0.5849056603773585,"last_synced_commit":"317e2e798ed95f0b972692e9e2c6c846db7a0fca"},"previous_names":[],"tags_count":121,"template":false,"template_full_name":null,"purl":"pkg:github/arif98741/laravelbdsms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arif98741%2Flaravelbdsms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arif98741%2Flaravelbdsms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arif98741%2Flaravelbdsms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arif98741%2Flaravelbdsms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arif98741","download_url":"https://codeload.github.com/arif98741/laravelbdsms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arif98741%2Flaravelbdsms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27997224,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alpha-sms","bangladeshi-sms-gateway","bd-sms-gateway","boomcast","bulksms-api","bulksmsbd","gateway-api","infobip","infobip-api","laravel-sms","laravel-sms-gateway","onnorokom-sms-service","php","php-sms-gateway","sms","sms-gateway","sms-gateway-package","sslcommerz","sslcommerz-api-laravel"],"created_at":"2024-10-01T08:21:33.564Z","updated_at":"2025-12-24T07:28:48.404Z","avatar_url":"https://github.com/arif98741.png","language":"PHP","funding_links":["https://patreon.com/arif98741","https://www.buymeacoffee.com/arif98741"],"categories":[],"sub_categories":[],"readme":"Xenon\\LaravelBDSms is a sms gateway package for sending text message to Bangladeshi mobile numbers using several\ngateways for \u003cstrong\u003eLaravel Framework\u003c/strong\u003e. You can watch installation process [from youtube](https://youtu.be/i2wjLNoIvIo).\n\n\u003cp\u003e\u003cimg src=\"https://img.shields.io/github/issues/arif98741/laravelbdsms\"\u003e\n\u003cimg src=\"https://img.shields.io/github/forks/arif98741/laravelbdsms\"\u003e\n\u003cimg src=\"https://img.shields.io/github/stars/arif98741/laravelbdsms\"\u003e\n   \u003cimg src=\"https://img.shields.io/github/license/arif98741/laravelbdsms\"\u003e\n\u003c/p\u003e\n\n\u003c!-- TOC --\u003e\n* [Installation](#installation)\n  * [Step 1:](#step-1)\n  * [Step 2:](#step-2)\n  * [Step 3:](#step-3)\n  * [Step 4:](#step-4)\n  * [Usage](#usage)\n    * [Simply use the facade](#simply-use-the-facade)\n    * [Or, with facade alias](#or-with-facade-alias)\n    * [Or, if you need to change the default provider on the fly](#or-if-you-need-to-change-the-default-provider-on-the-fly)\n    * [Or, you can send message with queue. This queue will be added in your jobs table. Message will be sent as soon as job is run.](#or-you-can-send-message-with-queue-this-queue-will-be-added-in-your-jobs-table-message-will-be-sent-as-soon-as-job-is-run-)\n* [Log Generate](#log-generate)\n\n* [Sample Code](#sample-code)\n  * [SSLCommerz](#sslcommerz)\n  * [MimSms](#mimsms)\n  * [Sms Send Using Custom Gateway](#sms-send-using-custom-gateway)\n* [Currently Supported Sms Gateways](#currently-supported-sms-gateways)\n    * [Stargazers](#stargazers)\n    * [Forkers](#forkers)\n    * [Contributors](#contributors)\n\u003c!-- TOC --\u003e\n\n\n# Installation\n\n## Step 1:\n\n```\ncomposer require xenon/laravelbdsms\n```\n\n## Step 2:\n\nPublish the package using command\n\n```\nphp artisan vendor:publish --provider=Xenon\\LaravelBDSms\\LaravelBDSmsServiceProvider --tag=\"migrations\"\nphp artisan vendor:publish --provider=Xenon\\LaravelBDSms\\LaravelBDSmsServiceProvider --tag=\"config\"\nphp artisan migrate\n```\n\n## Step 3:\n\nSelect Vendor From Console \u003cbr\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/arif98741/laravelbdsms/master/img/installation.png\" style=\"width: 60%; height: 60%\"\u003e\n\n## Step 4:\n\n```\nphp artisan config:cache \u0026\u0026 php artisan migrate\n```\n\n[//]: # (This will create a `sms.php` in the `config/` directory and also table in your database. Set your desired provider as `default_provider` and fill up the)\n\n[//]: # (necessary environment variable of that provider.)\n\n## Usage\n\n### Simply use the facade\n`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)`\n\u003cpre\u003e\nuse Xenon\\LaravelBDSms\\Facades\\SMS;\n\nSMS::shoot('017XXYYZZAA', 'helloooooooo boss!');\nSMS::shoot(['017XXYYZZAA','018XXYYZZAA'], 'helloooooooo boss!'); \n\u003c/pre\u003e\n\n### Or, with facade alias\n\u003cpre\u003e\nuse LaravelBDSms, SMS;\n\nLaravelBDSms::shoot('017XXYYZZAA', 'helloooooooo boss!');\nSMS::shoot('017XXYYZZAA', 'helloooooooo boss!');\n\u003c/pre\u003e\n\n### Or, if you need to change the default provider on the fly\n\u003cpre\u003e\nuse Xenon\\LaravelBDSms\\Facades\\SMS;\nuse Xenon\\LaravelBDSms\\Provider\\Ssl;\n\n$response = SMS::via(Ssl::class)-\u003eshoot('017XXYYZZAA', 'helloooooooo boss!');\n\u003c/pre\u003e\n\n\n### Or, you can send message with queue. This queue will be added in your jobs table. Message will be sent as soon as job is run. \nMake sure you have **jobs** table and other jobs related functionalities enabled\n\u003cpre\u003e\nuse Xenon\\LaravelBDSms\\Facades\\SMS;\nuse Xenon\\LaravelBDSms\\Provider\\Ssl;\n\nSMS::shootWithQueue(\"01XXXXXXXXX\",'test sms');\nSMS::via(Ssl::class)-\u003eshootWithQueue(\"01XXXXXXXXX\",'test sms');\n\u003c/pre\u003e\n\n# Log Generate\nYou can generate log for every sms api request and save in database or file. For doing this. Follow below points\n1. Laravelbdsms stores log in two drivers(`database, file`). `database` is default. You can change it from _config/sms.php_\n2. Find and make true `'sms_log' =\u003e true,`\n3. Be confirm you have completed **step-2** and **step-3**\n4. For `database` driver\n   1. Change log driver to `log_driver =\u003e'database'` from `config/sms.php`\n   2. Run command `php artisan migrate`. This will create `lbs_log` table in your database\n5. For `file` driver\n    1. Change log driver to `log_driver =\u003e'file'` from `config/sms.php`\n\nOtherwise, if you want more control, you can use the underlying sender object. This will not touch any laravel facade or\nservice provider.\n\n# Sample Code\n## SSLCommerz\n\u003cpre\u003e\nuse Xenon\\LaravelBDSms\\Provider\\Ssl;\nuse Xenon\\LaravelBDSms\\Sender;\n\n$sender = Sender::getInstance();\n$sender-\u003esetProvider(Ssl::class); //change this provider class according to need\n$sender-\u003esetMobile('017XXYYZZAA');\n//$sender-\u003esetMobile(['017XXYYZZAA','018XXYYZZAA']);\n$sender-\u003esetMessage('helloooooooo boss!');\n$sender-\u003esetQueue(false); //set true if you want to sent sms from queue\n$sender-\u003esetConfig(\n   [\n       'api_token' =\u003e 'api token goes here',\n       'sid' =\u003e 'text',\n       'csms_id' =\u003e 'sender_id'\n   ]\n);\n$status = $sender-\u003esend();\n\n----------Demo Response Using SSL-------------\narray:6 [▼\n  \"status\" =\u003e \"response\"\n  \"response\" =\u003e \"{\"status\":\"FAILED\",\"status_code\":4003,\"error_message\":\"IP Blacklisted\"}\"\n  \"provider\" =\u003e \"Xenon\\LaravelBDSms\\Provider\\Ssl\"\n  \"send_time\" =\u003e \"2021-07-06 08:03:23\"\n  \"mobile\" =\u003e \"017XXYYZZAA\"\n  \"message\" =\u003e \"helloooooooo boss!\"\n]\n--------------------------------------------------\n\u003c/pre\u003e\n\n\n## Sms Send Using Custom Gateway\nWe 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.\n\u003cpre\u003e\nuse Xenon\\LaravelBDSms\\Provider\\CustomGateway;\nuse Xenon\\LaravelBDSms\\Sender;\n\n$sender = Sender::getInstance();\n$sender-\u003esetProvider(CustomGateway::class);\n$sender-\u003esetUrl('https://your_cusom_gateway_provider_url_here')\n        -\u003esetMethod('post')\n        -\u003esetHeaders([\n            'Content-Type: application/json',\n            'Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',\n        ], false);\n$sender-\u003esetMobile('017XXYYZZAA');\n$sender-\u003esetMessage('text message goes here');\n$sender-\u003esetQueue(false);\n//use required parameters based on your sms gateway. This will be changed according to need\n$sender-\u003esetConfig(\n    [\n        'MsgType' =\u003e 'TEXT',\n        'masking' =\u003e 'sample',\n        'userName' =\u003e 'test_user',\n        'message' =\u003e 'test message',\n        'receiver' =\u003e '017xxxxxxxxxx',\n    ]\n);\necho $status = $sender-\u003esend();\n\u003c/pre\u003e\n\n# Currently Supported Sms Gateways\n\n| Provider            | Credentials  Required \u003cbr\u003e    For Sending SMS                     | Support Multiple | Status         | Comment                                                  | Contact |\n|---------------------|-------------------------------------------------------------------|------------------|----------------|----------------------------------------------------------|---------|\n| AjuraTech           | apikey, secretkey , callerID                                      | -                | Done           | Uses Reve SMS API (smpp.revesms.com)                    | -       |\n| Adn                 | api_key, api_secret, messsage_type, request_type                  | -                | Done           | -                                                        | -       |\n| Alpha               | api_key                                                           | Yes              | Done           | -                                                        | -       |\n| Banglalink          | userID, passwd , sender                                           | -                | Done           | -                                                        | -       |\n| BDBulkSMS           | token                                                             | -                | Done           | -                                                        | -       |\n| BoomCast            | masking  , userName ,   password                                  | -                | Done           | -                                                        | -       |\n| BulksmsBD           | api_key,senderid                                                  | -                | Done           | -                                                        | -       |\n| CustomGateway       | provide necessary token/api_key/others based on requirements      | -                | Done           | Be careful using this and test based on several scenario | -       |\n| DhorolaSms          | apikey, sender                                                    | -                | Done           | -                                                        | -       |\n| DianaHost           | api_key, type, senderid                                           | -                | Done           | -                                                        | -       |\n| DianaSMS            | ApiKey, ClientId, SenderId                                        | -                | Done           | -                                                        | -       |\n| DurjoySoft          | ApiKey, SenderID                                                  | -                | Done           | -                                                        | -       |\n| EAmarseba          | x-app-key, x-app-secret, is_masking, masking_name                 | -                | Done           | -                                                        | -       |\n| ElitBuzz            | api_key, type, senderid, type                                     | -                | Done           | not tested yet in live                                   | -       |\n| Esms                | api_token, sender_id                                              | -                | Done           | -                                                        | -       |\n| Grameenphone        | username, password, messagetype                                   | -                | Done           | not tested yet in live                                   | -       |\n| Infobip             | user, password                                                    | -                | Done           | not tested yet in live                                   | -       |\n| Lpeek               | acode, apiKey, requestID, masking                                 | -                | Done           | -                                                        | -       |\n| MDL                 | api_key, type, senderid                                           | -                | Done           | not tested yet in live                                   | -       |\n| Metronet            | api_key, mask                                                     |                  | Done           | -                                                        | -       |\n| MimSms              | ApiKey, UserName, SenderName                                      | -                | Done           | -                                                        | -       |\n| Mobireach           | Username,Password, From                                           | -                | Done           | -                                                        | -       |\n| Muthofun            | sender_id                                                         | Yes              | Done           | -                                                        | -       |\n| NovocomBD           | ApiKey , ClientId   , SenderId                                    | -                | Done           | -                                                        | -       |\n| OnnoRokomSMS        | userName, userPassword, type, maskName, campaignName              | -                | Done           | not tested yet in live                                   | -       |\n| QuickSms            | api_key, senderid, type,scheduledDateTime                         | -                | Done           | not tested yet in live                                   | -       |\n| RedmoITSms          | api_token, sender_id                                              | -                | Support closed | -                                                        |\n| Reve SMS            | apikey, secretkey , callerID                                      | -                | Done           | Use AjuraTech provider for the Reve SMS                      | -       |\n| SendMySms           | user, closed                                                      | -                | Done           | tested in live                                           |\n| SmartLabSMS         | user, password, sender                                            | -                | Done           | -                                                        | -       |\n| Sms4BD              | publickey, privatekey, type,sender, delay                         | -                | Done           | -                                                        | -       |\n| SmsBangladesh       | user, password, from                                              | -                | Done           | -                                                        | -       |\n| SmsinBD             | api_token, senderid                                               | -                | Done           |                                                          | -       |\n| SMS.net.bd          | api_key                                                           | -                | Done           |                                                          | -       |\n| SmsQ                | sender_id, client_id, api_key                                     | -                | Done           |                                                          | -       |\n| SMSNet24            | user_id, user_password, route_id(optional), sms_type_id(optional) | -                | Done           | -                                                        |         |\n| SmsNoc              | sender_id, bearer_token                                           | -                | Done           | -                                                        |         |\n| SongBird            | apikey, secretkey, callerID                                       | -                | Done           | -                                                        |         |\n| Sslsms              | api_token, sid, csms_id                                           | Yes              | Done           | -                                                        | -       |\n| Tense               | user, password, campaign, masking                                 | -                | Done           | -                                                        | -       |\n| Twenty4BulkSms      | api_key, sender_id,user_email                                     | -                | Done           | -                                                        | -       |\n| TwentyFourBulkSmsBD | customer_id, api_key                                              | -                | Done           | -                                                        | -       |\n| Trubosms            | api_token, sender_id                                              | -                | Done           | -                                                        | -       |\n| Viatech             | api_key, mask                                                     | -                | Done           | -                                                        | -       |\n| WinText             | token, messagetype, ismasking, masking                            | -                | Done           | -                                                        | -       |\n| ZamanIT             | api_key, senderid,type                                            | -                | Done           | -                                                        | -       |\n\n\n\n\n### Stargazers\n[![Stargazers repo roster for @arif98741/laravelbdsms](https://reporoster.com/stars/arif98741/laravelbdsms)](https://github.com/arif98741/laravelbdsms/stargazers)\n\n### Forkers\n[![Forkers repo roster for @arif98741/laravelbdsms](https://reporoster.com/forks/arif98741/laravelbdsms)](https://github.com/arif98741/laravelbdsms/network/members)\n\n### Contributors\n\u003ca href=\"https://github.com/arif98741/laravelbdsms/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=arif98741/laravelbdsms\" /\u003e\n\u003c/a\u003e\n\n\u003cbr\u003e \nWe are continuously working in this open source library for adding more Bangladeshi sms gateway. If you feel something\nis missing then make a issue regarding that. If you want to contribute in this library, then you are highly welcome to\ndo that....\n\nFor clear documentation read this blog\nin  [Medium!](https://send-sms-using-laravelbdsms.medium.com/laravel-sms-gateway-package-for-bangladesh-e70af99f2060)\nand also you can download several sms providers documentations as pdf from [this link!](https://github.com/arif98741/laravelbdsms/archive/refs/heads/doc.zip)\n\n\nSpecial thanks to \u003cbr\u003e\n[tusharkhan](https://github.com/tusharkhan) \u003cbr\u003e\n[tusher9352](https://github.com/tusher9352)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farif98741%2Flaravelbdsms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farif98741%2Flaravelbdsms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farif98741%2Flaravelbdsms/lists"}