{"id":16361554,"url":"https://github.com/niklan/smsru","last_synced_at":"2026-05-05T03:40:18.789Z","repository":{"id":150757493,"uuid":"77681193","full_name":"Niklan/smsru","owner":"Niklan","description":"SMS.ru integration for Drupal.","archived":false,"fork":false,"pushed_at":"2022-07-19T12:24:23.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"7.x-1.x","last_synced_at":"2024-12-30T01:45:41.527Z","etag":null,"topics":["drupal","module","sms"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Niklan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2016-12-30T11:03:08.000Z","updated_at":"2016-12-30T11:03:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"7f0cab3c-6f99-46f3-b6b4-5b5a5209e472","html_url":"https://github.com/Niklan/smsru","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Niklan%2Fsmsru","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Niklan%2Fsmsru/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Niklan%2Fsmsru/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Niklan%2Fsmsru/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Niklan","download_url":"https://codeload.github.com/Niklan/smsru/tar.gz/refs/heads/7.x-1.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239753702,"owners_count":19691160,"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":["drupal","module","sms"],"created_at":"2024-10-11T02:14:15.523Z","updated_at":"2026-01-14T10:30:15.819Z","avatar_url":"https://github.com/Niklan.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SMS.ru integration for Drupal\n\nVery basic implementation of SMS.ru API for Drupal with Rules integration.\n\nFor now only implemented method is - **send/sms**. If you need another, you can make it by yourself ;)\n\n## Install\n\n- Download, extract and place it as all modules. Better to place this module to /sites/all/modules/**custom**.\n- Navigate to modules page and enable it.\n- Go to settings _(admin/config/services/smsru)_ and set API key.\n  ![Settings](http://i.imgur.com/wVqxixo.png)\n  \n**Attention!** All numbers must be in worldwide format, without leading + and regional number. F.e. correct number for Russia is starts from +7 or 7, not 8 +8.\n\n// @TODO helper function for supported countries (https://sms.ru/?panel=price\u0026machine=1)\n\nIf you familiar with coding, you can use my (regex)[https://regex101.com/r/QHEpxO/1] for Russian numbers.\n\n~~~\n^\\+?\\s?7\\s?\\(?-?(?# code)[0-9]{3}(?# next 3 digit)\\s?\\)?-?\\s?[0-9]{3}\\s?-?(?# next 2 digits)[0-9]{2}\\s?-?(?# the last 2 digits)[0-9]{2}\n~~~\n\n  \n## Rules\n\n1. Create any condition you want.\n2. All available SMS.ru actions will be in SMS.RU group.\n   ![Rules Action](http://i.imgur.com/PzPZDCs.png)\n3. Fill required fields and save it.\n4. Enjoy.\n\n## Programmatically\n\n### Send SMS\n\n~~~php\nsmsru_class()-\u003esend_sms('79001234567', 'Hello World');\n~~~\n\nProject on [GitHub](https://github.com/Niklan/smsru).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniklan%2Fsmsru","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniklan%2Fsmsru","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniklan%2Fsmsru/lists"}