{"id":15470520,"url":"https://github.com/ofcold/luminous-sms","last_synced_at":"2025-04-22T12:09:20.831Z","repository":{"id":57030366,"uuid":"118433348","full_name":"ofcold/luminous-sms","owner":"ofcold","description":"A powerful international SMS push.","archived":false,"fork":false,"pushed_at":"2018-08-28T04:29:35.000Z","size":96,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"3.0","last_synced_at":"2025-04-22T12:08:50.718Z","etag":null,"topics":["codeigniter","juhe","laravel","luminous","php","qcloud","sms","symfony","yii","yunpian"],"latest_commit_sha":null,"homepage":null,"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/ofcold.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}},"created_at":"2018-01-22T09:12:31.000Z","updated_at":"2018-08-28T04:29:37.000Z","dependencies_parsed_at":"2022-08-23T18:50:39.045Z","dependency_job_id":null,"html_url":"https://github.com/ofcold/luminous-sms","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofcold%2Fluminous-sms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofcold%2Fluminous-sms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofcold%2Fluminous-sms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofcold%2Fluminous-sms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ofcold","download_url":"https://codeload.github.com/ofcold/luminous-sms/tar.gz/refs/heads/3.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250237832,"owners_count":21397401,"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":["codeigniter","juhe","laravel","luminous","php","qcloud","sms","symfony","yii","yunpian"],"created_at":"2024-10-02T02:05:13.207Z","updated_at":"2025-04-22T12:09:20.813Z","avatar_url":"https://github.com/ofcold.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://github.com/ofcold/luminous-sms/raw/master/sms.svg?sanitize=true\"\u003e\u003c/p\u003e\nA powerful international SMS push.\n\n## Features\n\n- Support the current market more than service providers.\n- Simple configuration can flexibly increase or decrease service providers.\n- Unified return format, easy to log and monitor.\n- Automatic polling Select available service providers.\n- Full support for various api interfaces of vendors.\n- Support console operation API.\n\n## Platform support\n|供应商|开发状态|时间|\n|--------|--------|--------|\n|[腾讯云 SMS](https://cloud.tencent.com/product/sms)|:white_check_mark:|2018-06-20|\n|[云片](https://www.yunpian.com)|:clock8:|2018-06-21|\n|[阿里大鱼](https://www.alidayu.com)|:x:|--|\n|[百度云](https://cloud.baidu.com)|:x:|--|\n\n## Environmental\n\n- PHP \u003e= 7.1\n\n## Intalling\n\n```shell\n$ composer require ofcold/luminous-sms\n```\n\n## Usage\n\n```php\nuse Ofcold\\LuminousSMS\\LuminousSMS;\nuse Ofcold\\LuminousSMS\\Helpers;\nuse Ofcold\\LuminousSMS\\Contracts\\MessageInterface;\n\n$sms = new LuminousSMS(include __DIR__ . '/resources/config/sms.php');\n\n//\t------------------------------------------------------------------------------------------------\n//\tSend Message.\n$result = $sms-\u003esender(function($messager) {\n\t$messager\n\t\t-\u003esetMobilePhone('18898726543')\n\t\t-\u003esetType(Ofcold\\LuminousSMS\\Contracts\\MessageInterface::VOICE_MESSAGE)\n\t\t-\u003esetContent('您的验证码是{code}, 验证码将在2分钟后失效！请及时使用。')\n\t\t-\u003esetPaserData(['code'\t=\u003e rand(1000, 9999)]);\n});\n\nvar_dump($result);\n\n//\t------------------------------------------------------------------------------------------------\n\n//\tSignature manager\n//\tAdd\n//$resuts = $sms-\u003ecreateHandler('qcloud')-\u003egetSignature('add', '衣衣布舍');\n//\n// Query\n//$resuts = $sms-\u003ecreateHandler('qcloud')-\u003egetSignature('query', [15858, 15859]);\n//\n//\tEdit\n$resuts = $sms-\u003ecreateHandler('qcloud')-\u003egetSignature('edit', '150986', '你是哪里来');\n\nvar_dump($resuts);\n\n```\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofcold%2Fluminous-sms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fofcold%2Fluminous-sms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofcold%2Fluminous-sms/lists"}