{"id":19423217,"url":"https://github.com/atomjoy/smsapisms","last_synced_at":"2026-02-21T10:02:28.422Z","repository":{"id":240204261,"uuid":"801977830","full_name":"atomjoy/smsapisms","owner":"atomjoy","description":"Laravel sms notification channel with SmsApi. Send SMS in Laravel. Laravel SMS Notifications allows you to send SMS from your Laravel application.","archived":false,"fork":false,"pushed_at":"2024-05-17T12:26:42.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T17:05:08.554Z","etag":null,"topics":["laravel-sms","laravel-sms-channel","laravel-sms-notifications","laravel-sms-sender","laravel-smsapi","sms-laravel","smsapi-laravel"],"latest_commit_sha":null,"homepage":"https://github.com/atomjoy/smsapisms","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atomjoy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-05-17T09:24:18.000Z","updated_at":"2024-05-17T12:25:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"035b2d2a-48c1-49ba-b497-89e09f284703","html_url":"https://github.com/atomjoy/smsapisms","commit_stats":null,"previous_names":["atomjoy/smsapisms"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomjoy%2Fsmsapisms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomjoy%2Fsmsapisms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomjoy%2Fsmsapisms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomjoy%2Fsmsapisms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atomjoy","download_url":"https://codeload.github.com/atomjoy/smsapisms/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243456653,"owners_count":20293907,"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":["laravel-sms","laravel-sms-channel","laravel-sms-notifications","laravel-sms-sender","laravel-smsapi","sms-laravel","smsapi-laravel"],"created_at":"2024-11-10T13:37:27.858Z","updated_at":"2025-10-18T07:49:47.796Z","avatar_url":"https://github.com/atomjoy.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Smsapi Laravel sms notifications\r\n\r\nLaravel SMS Notifications allows you to send SMS from your Laravel application.\r\n\r\n## Install\r\n\r\n```sh\r\ncomposer require \"atomjoy/smsapisms\"\r\n```\r\n\r\n## Config\r\n\r\nconfig/smsapisms.php\r\n\r\n```sh\r\nphp artisan vendor:publish --tag=smsapisms-config --force\r\n```\r\n\r\n## Service\r\n\r\n```php\r\nreturn [\r\n    'api_service' =\u003e 'pl', // Default smsapi.pl service. Options: [ pl, com, se, bg ]\r\n    'api_token' =\u003e 'EMPTY_API_TOKEN', // Api bearer token\r\n    'api_from' =\u003e 'Test', // Default sms sender name\r\n    'api_encoding' =\u003e 'utf-8',  // Default charset\r\n    'api_details' =\u003e true,  // More response details\r\n    'api_test' =\u003e false,  // Test mode\r\n];\r\n```\r\n\r\n## Routes\r\n\r\nroutes/web.php\r\n\r\n```php\r\n\u003c?php\r\n\r\nuse App\\Models\\User;\r\nuse Atomjoy\\Sms\\Notifications\\SendSms;\r\nuse Illuminate\\Support\\Facades\\Notification;\r\nuse Illuminate\\Support\\Facades\\Route;\r\n\r\n// Smsapi sms\r\nRoute::get('/sms', function () {\r\n    try {\r\n        $user = User::first();\r\n\r\n        // Send smss\r\n        $user-\u003enotify(\r\n            new SendSms(\r\n                'New Order [%idzdo:smsapi.pl/panel%]',\r\n                ['48100100100', '44200200200']\r\n            )\r\n        );\r\n\r\n        // Or with\r\n        Notification::sendNow(\r\n            $user,\r\n            new SendSms(\r\n                'New Order [%idzdo:smsapi.pl/panel%]',\r\n                ['48100100100', '44200200200']\r\n            )\r\n        );\r\n    } catch (\\Exception $e) {\r\n        return $e-\u003egetMessage();\r\n    }\r\n\r\n    return 'Message has been send.';\r\n});\r\n```\r\n\r\n## Server\r\n\r\n```sh\r\nphp artisan serve --host=localhost --port=8000\r\n```\r\n\r\n## Events\r\n\r\n```php\r\n\u003c?php\r\n\r\nuse Atomjoy\\Sms\\Events\\SmsSent;\r\nuse Atomjoy\\Sms\\Events\\SmsSentError;\r\n\r\n// ...\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomjoy%2Fsmsapisms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatomjoy%2Fsmsapisms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomjoy%2Fsmsapisms/lists"}