{"id":21813847,"url":"https://github.com/kudinovfedor/sms-fly","last_synced_at":"2026-05-15T23:36:49.151Z","repository":{"id":57009724,"uuid":"285925184","full_name":"kudinovfedor/sms-fly","owner":"kudinovfedor","description":"SMS FLY API (XML)","archived":false,"fork":false,"pushed_at":"2022-07-17T15:21:51.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T09:28:36.193Z","etag":null,"topics":["api","php","sms","sms-fly","sms-fly-api","xml"],"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/kudinovfedor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-07T21:37:49.000Z","updated_at":"2022-07-17T15:14:07.000Z","dependencies_parsed_at":"2022-08-21T13:10:16.236Z","dependency_job_id":null,"html_url":"https://github.com/kudinovfedor/sms-fly","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kudinovfedor/sms-fly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kudinovfedor%2Fsms-fly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kudinovfedor%2Fsms-fly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kudinovfedor%2Fsms-fly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kudinovfedor%2Fsms-fly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kudinovfedor","download_url":"https://codeload.github.com/kudinovfedor/sms-fly/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kudinovfedor%2Fsms-fly/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33083661,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","php","sms","sms-fly","sms-fly-api","xml"],"created_at":"2024-11-27T14:33:42.805Z","updated_at":"2026-05-15T23:36:49.123Z","avatar_url":"https://github.com/kudinovfedor.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SMS Fly (XML)\n\n## Installation\nRequire this package with [composer](https://getcomposer.org) using the following command:\n```bash\ncomposer require kudinovfedor/sms-fly\n```\n\n## Usage\n```php\nuse KudinovFedor\\SmsFly\\SmsFly;\n\n$smsFly = new SmsFly([\n    'login' =\u003e 'login',\n    'password'  =\u003e 'password',\n    'from' =\u003e 'InfoCentr' // Alpha name\n]);\n\n// or\n$smsFly = new SmsFly();\n$smsFly-\u003esetLogin('login');\n$smsFly-\u003esetPassword('password');\n$smsFly-\u003esetFrom('InfoCentr'); // Alpha name\n```\n\n### Sending SMS\n```php\n$smsFly-\u003esetTo('380989361131');\n$smsFly-\u003esetMessage('Your message');\n\n$response = $smsFly-\u003esendSMS();\n\n// or\n$response = $smsFly-\u003esendSMS([\n    'to' =\u003e '380989361131',\n    'message' =\u003e 'Your message',\n]);\n```\n\n#### Campaign info\n```php\n$smsFly-\u003esetCampaignId('3917349');\n$info = $smsFly-\u003egetCampaignInfo();\n\n// or\n$info = $smsFly-\u003egetCampaignInfo('3917349');\n```\n\n#### Campaign detail\n```php\n$smsFly-\u003esetCampaignId('3917349');\n$detail = $smsFly-\u003egetCampaignDetail();\n\n// or\n$detail = $smsFly-\u003egetCampaignDetail('3917349');\n```\n\n#### Get message status\n```php\n$smsFly-\u003esetTo('380989361131');\n$smsFly-\u003esetCampaignId('3917349');\n$messageStatus = $smsFly-\u003egetMessageStatus();\n\n// or\n$messageStatus = $smsFly-\u003egetMessageStatus('380989361131', '3917349');\n```\n\n#### Get balance\n```php\n$balance = $smsFly-\u003egetBalance(); // 0.01\n```\n\n#### Add alfa name\n```php\n$alfaname = $smsFly-\u003eaddAlfaname('SMS');\n```\n\n#### Check alfa name\n```php\n$alfaname = $smsFly-\u003echeckAlfaname('SMS');\n```\n\n#### Alfa names list\n```php\n$alfanamesList = $smsFly-\u003egetAlfanamesList();\n```\n\n##### License\nThe SMS Fly API is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkudinovfedor%2Fsms-fly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkudinovfedor%2Fsms-fly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkudinovfedor%2Fsms-fly/lists"}