{"id":20292027,"url":"https://github.com/bankiru/qtelecom-php","last_synced_at":"2025-03-04T05:12:32.225Z","repository":{"id":62491547,"uuid":"76446263","full_name":"bankiru/qtelecom-php","owner":"bankiru","description":"PHP bindings for QuickTelecom SMS gateway","archived":false,"fork":false,"pushed_at":"2022-11-07T15:55:40.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-15T05:19:49.520Z","etag":null,"topics":["qtelecom","quicktelecom","sms","sms-client"],"latest_commit_sha":null,"homepage":null,"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/bankiru.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}},"created_at":"2016-12-14T09:46:59.000Z","updated_at":"2022-11-07T15:55:44.000Z","dependencies_parsed_at":"2023-01-22T04:35:52.737Z","dependency_job_id":null,"html_url":"https://github.com/bankiru/qtelecom-php","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bankiru%2Fqtelecom-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bankiru%2Fqtelecom-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bankiru%2Fqtelecom-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bankiru%2Fqtelecom-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bankiru","download_url":"https://codeload.github.com/bankiru/qtelecom-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241787486,"owners_count":20020101,"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":["qtelecom","quicktelecom","sms","sms-client"],"created_at":"2024-11-14T15:14:55.011Z","updated_at":"2025-03-04T05:12:32.208Z","avatar_url":"https://github.com/bankiru.png","language":"PHP","readme":"# Quick-Telecom SMS \nPHP bindings for QuickTelecom SMS gateway\n\n## Installation\n\n```sh\ncomposer require bankiru/qtelecom-sms\n```\n\n## Usage\n\n### Standalone\n\n```php\n\u003c?php\n\nuse Bankiru\\Sms\\QtSms\\QtSms;\nuse Bankiru\\Sms\\QtSms\\QtSmsTransport;\nuse ScayTrase\\SmsDeliveryBundle\\Service\\ShortMessageInterface;\n\nclass MySms implements  ShortMessageInterface {\n    /* ... */\n}\n\n$transport = new QtSmsTransport(\n    new QtSms('user', 'pass', 'https://service.qtelecom.ru/public/http/'),\n    'friendly_man'\n);\n$transport-\u003esend(new MySms('1234567890', 'message body'));\n```\n\n### Symfony\n\nRegister bundle to the kernel\n\n```php\nclass AppKernel extends Kernel {\n    public function registerBundles() {\n        return [\n            //...\n            new \\ScayTrase\\SmsDeliveryBundle\\SmsDeliveryBundle();\n            new \\Bankiru\\Sms\\QtSms\\QtSmsBundle(),\n            //...\n        ];\n    }\n}\n```\n\nConfigure the sender\n\n```yaml\nsms_delivery:\n  transport: qt_sms.transport\n\nqt_sms:\n    login: user\n    password: pass\n    url: https://service.qtelecom.ru/public/http/\n    sender: friendly_man\n```\n\nSend SMS\n\n```php\nclass MyController extends Controller {\n    public function sendAction() {\n        $this-\u003eget('sms_delivery.sender')-\u003espoolMessage(new MySms('1234567890', 'message body'));\n    }\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbankiru%2Fqtelecom-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbankiru%2Fqtelecom-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbankiru%2Fqtelecom-php/lists"}