{"id":19854709,"url":"https://github.com/phwoolcon/sms-agent","last_synced_at":"2026-05-14T10:38:23.438Z","repository":{"id":57041246,"uuid":"106185437","full_name":"phwoolcon/sms-agent","owner":"phwoolcon","description":"SMS Sending Agent","archived":false,"fork":false,"pushed_at":"2018-06-29T11:21:36.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T13:50:54.635Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phwoolcon.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-08T15:05:31.000Z","updated_at":"2018-06-29T11:21:37.000Z","dependencies_parsed_at":"2022-08-23T23:31:09.533Z","dependency_job_id":null,"html_url":"https://github.com/phwoolcon/sms-agent","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/phwoolcon%2Fsms-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phwoolcon%2Fsms-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phwoolcon%2Fsms-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phwoolcon%2Fsms-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phwoolcon","download_url":"https://codeload.github.com/phwoolcon/sms-agent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241244973,"owners_count":19933295,"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":[],"created_at":"2024-11-12T14:10:12.358Z","updated_at":"2026-05-14T10:38:23.408Z","avatar_url":"https://github.com/phwoolcon.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sms-agent\n\n[![Latest Version on Packagist][ico-version]][link-packagist]\n[![Software License][ico-license]](LICENSE.md)\n[![Build Status][ico-travis]][link-travis]\n[![Coverage Status][ico-scrutinizer]][link-scrutinizer]\n[![Quality Score][ico-code-quality]][link-code-quality]\n[![Total Downloads][ico-downloads]][link-downloads]\n\nSMS Sending Agent\n\n## 1. Install\n\nInstall as a `phwoolcon` package\n\n```bash\ngit clone git@github.com:phwoolcon/bootstrap.git sms-agent\ncd sms-agent\nbin/import-package git@github.com:phwoolcon/sms-agent.git\n```\n\n\n## 2. Usage\n\n### 2.1. Sending SMS\n\n#### 2.1.1 Get Sender Account\nAccess the sender's website and create an account before use this software.\n\nList of senders:\n* sms-cn: [云信 sms.cn](http://www.sms.cn/)\n\n#### 2.1.2. Configure\n\nCreate production config, choose the default sender(`sms-cn` by default), and fill up the sender account info:\n```bash\ncp app/config/sms-agent.php app/config/production/sms-agent.php\nvim app/config/production/sms-agent.php\n```\n\n#### 2.1.3. Compose and Send\n```php\nuse SmsAgent;\n\n$mobile = '13579246801';\n$content = 'Test message';\n\nSmsAgent::send($mobile, $content)\n```\n\n### 2.2. Self Hosted Agent\nYou can build a self hosted agent to centralize SMS sending stubs for all your applications, with package `phwoolcon/sms-agent-admin`.\n\n## 3. Change log\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## 4. Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) and [CODE_OF_CONDUCT](CODE_OF_CONDUCT.md) for details.\n\n## 5. Security\n\nIf you discover any security related issues, please email fishdrowned@gmail.com instead of using the issue tracker.\n\n## 6. Credits\n\n- [Christopher CHEN][link-author]\n- [All Contributors][link-contributors]\n\n## 7. License\n\nThe Apache License, Version 2.0. Please see [License File](LICENSE.md) for more information.\n\n[ico-version]: https://img.shields.io/packagist/v/phwoolcon/sms-agent.svg?style=flat-square\n[ico-license]: https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg?style=flat-square\n[ico-travis]: https://img.shields.io/travis/phwoolcon/sms-agent/master.svg?style=flat-square\n[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/phwoolcon/sms-agent.svg?style=flat-square\n[ico-code-quality]: https://img.shields.io/scrutinizer/g/phwoolcon/sms-agent.svg?style=flat-square\n[ico-downloads]: https://img.shields.io/packagist/dt/phwoolcon/sms-agent.svg?style=flat-square\n\n[link-packagist]: https://packagist.org/packages/phwoolcon/sms-agent\n[link-travis]: https://travis-ci.org/phwoolcon/sms-agent\n[link-scrutinizer]: https://scrutinizer-ci.com/g/phwoolcon/sms-agent/code-structure\n[link-code-quality]: https://scrutinizer-ci.com/g/phwoolcon/sms-agent\n[link-downloads]: https://packagist.org/packages/phwoolcon/sms-agent\n[link-author]: https://github.com/Fishdrowned\n[link-contributors]: ../../contributors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphwoolcon%2Fsms-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphwoolcon%2Fsms-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphwoolcon%2Fsms-agent/lists"}