{"id":28495202,"url":"https://github.com/net-tools/sms","last_synced_at":"2025-07-02T08:31:16.683Z","repository":{"id":57025353,"uuid":"344537421","full_name":"net-tools/SMS","owner":"net-tools","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-20T11:40:23.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-08T11:08:20.972Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/net-tools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-03-04T16:25:17.000Z","updated_at":"2023-09-10T12:47:16.000Z","dependencies_parsed_at":"2022-08-23T13:51:07.402Z","dependency_job_id":"fa0d2d08-b016-44c9-9e73-915eba80177d","html_url":"https://github.com/net-tools/SMS","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"5eaf462136056dfcd853add3216fdafda78b90c1"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/net-tools/SMS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/net-tools%2FSMS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/net-tools%2FSMS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/net-tools%2FSMS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/net-tools%2FSMS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/net-tools","download_url":"https://codeload.github.com/net-tools/SMS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/net-tools%2FSMS/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263102526,"owners_count":23414119,"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":"2025-06-08T11:08:21.785Z","updated_at":"2025-07-02T08:31:16.673Z","avatar_url":"https://github.com/net-tools.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# net-tools/sms\n\n## Root composer library to send SMS through an host such as AWS SNS or OVH\n\n\n\n## Setup instructions\n\nTo install net-tools/sms package, just require it through composer : `require net-tools/sms:^1.0.0`.\n\nDon't forget to append the real implementation : `require net-tools/sms-aws:^1.0.0` or `require net-tools/sms-ovh:^1.0.0`\n\n\n\n\n## How to use ?\n\nThis project makes it possible to send SMS through AWS SNS or OVH provider\n\n```php\n\n// create the $snsclient ; please refer to AWS API reference to see how to create the client\n\n// creating config ; actual parameters vary along providers\n$config = new \\Nettools\\Core\\Misc\\ObjectConfig((object)['sanitizeSenderId' =\u003e true]);\n\n// create the api gateway\n$gw = new Aws\\ApiGateway($snsclient, $config);\n\n\n// send a sms to several recipients, and this is a transactionnal message (last parameter set to True)\n$gw-\u003esend('Appointment confirmed !', 'CLINIC', ['+XXYYYYYYYYY', '+XXZZZZZZZZZZ'], true);\n\n\n// if there are many recipients, call bulkSend insted, with same parameters, as it's more optimized\n\n```\n\n\nThe APIs supported are : AWS and OVH.\n\n\n\n\n## PHPUnit\n\nTo test with PHPUnit, point the -c configuration option to the /phpunit.xml configuration file.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnet-tools%2Fsms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnet-tools%2Fsms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnet-tools%2Fsms/lists"}