{"id":28250046,"url":"https://github.com/laraflow/sms","last_synced_at":"2025-06-13T23:32:03.871Z","repository":{"id":231901699,"uuid":"782993676","full_name":"laraflow/sms","owner":"laraflow","description":"A vendor configurable lightweight SMS notification channel provider package","archived":false,"fork":false,"pushed_at":"2025-05-12T23:21:40.000Z","size":293,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-24T11:55:39.637Z","etag":null,"topics":["clickatell-api","clicksend-sms","laravel","message-bird","notification-channels","sms-api","sms-gateway","smsbroadcast","telnyx-api","twillio-api"],"latest_commit_sha":null,"homepage":"https://laraflow.github.io/sms/","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/laraflow.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-04-06T16:29:59.000Z","updated_at":"2025-05-12T23:21:39.000Z","dependencies_parsed_at":"2024-04-08T17:43:36.516Z","dependency_job_id":"36e42d16-834e-4719-92ad-2f0c8d844483","html_url":"https://github.com/laraflow/sms","commit_stats":null,"previous_names":["laraflow/sms"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/laraflow/sms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laraflow%2Fsms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laraflow%2Fsms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laraflow%2Fsms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laraflow%2Fsms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laraflow","download_url":"https://codeload.github.com/laraflow/sms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laraflow%2Fsms/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259737298,"owners_count":22903832,"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","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":["clickatell-api","clicksend-sms","laravel","message-bird","notification-channels","sms-api","sms-gateway","smsbroadcast","telnyx-api","twillio-api"],"created_at":"2025-05-19T13:16:21.365Z","updated_at":"2025-06-13T23:32:03.864Z","avatar_url":"https://github.com/laraflow.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/laraflow/sms.svg?style=flat-square)](https://packagist.org/packages/laraflow/sms)\n[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/laraflow/sms/run-tests.yml?branch=main\u0026label=tests\u0026style=flat-square)](https://github.com/laraflow/sms/actions?query=workflow%3Arun-tests+branch%3Amain)\n[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/laraflow/sms/fix-php-code-style-issues.yml?branch=main\u0026label=code%20style\u0026style=flat-square)](https://github.com/laraflow/sms/actions?query=workflow%3A\"Fix+PHP+code+style+issues\"+branch%3Amain)\n[![Total Downloads](https://img.shields.io/packagist/dt/laraflow/sms.svg?style=flat-square)](https://packagist.org/packages/laraflow/sms)\n\n**Laraflow/SMS** is a fast and lightweight sms channel collection for laravel application. This package allow users to integrate different **SMS** gateway api without any hassle.\n\n# Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require laraflow/sms\n```\n\nYou can publish the config file with:\n\n```bash\nphp artisan vendor:publish --tag=\"sms-config\"\n```\n\nThis is the contents of the published config file:\n\n```php\n\nreturn [\n    /*\n    |--------------------------------------------------------------------------\n    | Default Vendor\n    |--------------------------------------------------------------------------\n    | this configuration is used to tell system which vendor\n    | should be used when sending the sms.\n    | Note: if set null package will use laravel default log driver.\n    */\n    'default' =\u003e env('SMS_DRIVER', null),\n\n    /*\n    |--------------------------------------------------------------------------\n    | Vendor Account Mode\n    |--------------------------------------------------------------------------\n    | this configuration is used to tell system which vendor account\n    | mode should be used when sending the sms. Available options are\n    | \"sandbox\" or \"live\".\n    */\n    'mode' =\u003e env('SMS_ACCOUNT_MODE', 'sandbox'),\n\n    /*\n    |--------------------------------------------------------------------------\n    | SMS Sender Name\n    |--------------------------------------------------------------------------\n    | this configuration is used to tell system what value will be used\n    | if sms vendor support sms name masking.\n    */\n    'from' =\u003e env('SMS_FROM_NAME', env('APP_NAME', 'Laravel')),\n\n    /*\n     |--------------------------------------------------------------------------\n     | Response Logger\n     |--------------------------------------------------------------------------\n     | this configuration is for debugging purpose. if enabled then program will log\n     | sms vendor response in debug category.\n     */\n    'log' =\u003e (bool)env('SMS_LOG', env('APP_DEBUG', false)),\n\n    /*\n     |--------------------------------------------------------------------------\n     | Response Log Viewer\n     |--------------------------------------------------------------------------\n     | this configuration is for debugging purpose. if enabled then program will log\n     | sms vendor response in debug category.\n     */\n    'log_viewer' =\u003e [\n        'enabled' =\u003e env('SMS_LOG_VIEWER', env('APP_DEBUG', false)),\n        'uri' =\u003e 'sms-logs',\n        'middleware' =\u003e null,\n    ],\n\n    /*\n    |--------------------------------------------------------------------------\n    | Vendor Configuration\n    |--------------------------------------------------------------------------\n    |\n    | This value will be added to all your routes from this package\n    | Example: APP_URL/{root_prefix}/api/bell/action\n    |\n    | Note: while adding prefix add closing ending slash '/'\n    */\n    'providers' =\u003e [\n        //Global\n        Providers::AFRICAS_TALKING =\u003e [\n            'driver' =\u003e \\Laraflow\\Sms\\Drivers\\AfricasTalking::class,\n            'live' =\u003e [\n                'url' =\u003e 'https://api.africastalking.com/version1/messaging',\n                'api_key' =\u003e env('SMS_AFRICA_TALKING_API_KEY'),\n                'username' =\u003e env('SMS_AFRICA_TALKING_USERNAME'),\n            ],\n            'sandbox' =\u003e [\n                'url' =\u003e 'https://api.sandbox.africastalking.com/version1/messaging',\n                'api_key' =\u003e env('SMS_AFRICA_TALKING_API_KEY'),\n                'username' =\u003e env('SMS_AFRICA_TALKING_USERNAME'),\n            ],\n        ],\n        Providers::CLICK_A_TELL =\u003e [\n            'driver' =\u003e \\Laraflow\\Sms\\Drivers\\ClickATell::class,\n            'live' =\u003e [\n                'api_key' =\u003e env('SMS_CLICKATELL_API_KEY'),\n            ],\n            'sandbox' =\u003e [\n                'api_key' =\u003e env('SMS_CLICKATELL_API_KEY'),\n            ],\n        ],\n        Providers::CLICK_SEND =\u003e [\n            'driver' =\u003e \\Laraflow\\Sms\\Drivers\\ClickSend::class,\n            'live' =\u003e [\n                'username' =\u003e env('SMS_CLICKSEND_USERNAME'),\n                'password' =\u003e env('SMS_CLICKSEND_PASSWORD'),\n            ],\n            'sandbox' =\u003e [\n                'username' =\u003e env('SMS_CLICKSEND_USERNAME'),\n                'password' =\u003e env('SMS_CLICKSEND_PASSWORD'),\n            ],\n        ],\n        Providers::INFOBIP =\u003e [\n            'driver' =\u003e \\Laraflow\\Sms\\Drivers\\Infobip::class,\n            'live' =\u003e [\n                'token' =\u003e env('SMS_INFOBIP_API_TOKEN'),\n            ],\n            'sandbox' =\u003e [\n                'token' =\u003e env('SMS_INFOBIP_API_TOKEN'),\n            ],\n        ],\n        Providers::MESSAGE_BIRD =\u003e [\n            'driver' =\u003e \\Laraflow\\Sms\\Drivers\\MessageBird::class,\n            'live' =\u003e [\n                'access_key' =\u003e env('SMS_MESSAGE_BIRD_ACCESS_KEY'),\n            ],\n            'sandbox' =\u003e [\n                'access_key' =\u003e env('SMS_MESSAGE_BIRD_ACCESS_KEY'),\n            ],\n        ],\n        Providers::SMS_BROADCAST =\u003e [\n            'driver' =\u003e \\Laraflow\\Sms\\Drivers\\SmsBroadcast::class,\n            'live' =\u003e [\n                'username' =\u003e env('SMS_SMSBROADCAST_USERNAME'),\n                'password' =\u003e env('SMS_SMSBROADCAST_PASSWORD'),\n            ],\n            'sandbox' =\u003e [\n                'username' =\u003e env('SMS_SMSBROADCAST_USERNAME'),\n                'password' =\u003e env('SMS_SMSBROADCAST_PASSWORD'),\n            ],\n        ],\n        Providers::TELNYX =\u003e [\n            'driver' =\u003e \\Laraflow\\Sms\\Drivers\\Telnyx::class,\n            'live' =\u003e [\n                'token' =\u003e env('SMS_TELNYX_API_TOKEN'),\n            ],\n            'sandbox' =\u003e [\n                'token' =\u003e env('SMS_TELNYX_API_TOKEN'),\n            ],\n        ],\n        Providers::TWILIO =\u003e [\n            'driver' =\u003e \\Laraflow\\Sms\\Drivers\\Twilio::class,\n            'live' =\u003e [\n                'url' =\u003e env('SMS_TWILIO_URL'),\n                'username' =\u003e env('SMS_TWILIO_USERNAME'),\n                'password' =\u003e env('SMS_TWILIO_PASSWORD'),\n            ],\n            'sandbox' =\u003e [\n                'url' =\u003e env('SMS_TWILIO_URL'),\n                'username' =\u003e env('SMS_TWILIO_USERNAME'),\n                'password' =\u003e env('SMS_TWILIO_PASSWORD'),\n            ],\n        ],\n        Providers::SMS_API =\u003e [\n            'driver' =\u003e \\Laraflow\\Sms\\Drivers\\SmsApi::class,\n            'live' =\u003e [\n                'api_token' =\u003e env('SMS_SMSAPI_API_TOKEN', ''),\n            ],\n            'sandbox' =\u003e [\n                'api_token' =\u003e env('SMS_SMSAPI_API_TOKEN', ''),\n            ],\n        ],\n\n        // ...\n    ],\n];\n\n```\n\n\n**Note: Complete list of all the sms vendors are given in [driver configuration](#/CONFIGURATION?id=driver-configuration) section.**\n\n\n### Auditory\n\nThis document was last updated at \u003cstrong\u003e\u003ci\u003e{docsify-updated}\u003c/i\u003e\u003c/strong\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaraflow%2Fsms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaraflow%2Fsms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaraflow%2Fsms/lists"}