{"id":28185266,"url":"https://github.com/stnc/-sinch-sdk-php","last_synced_at":"2025-05-16T06:11:53.272Z","repository":{"id":291401608,"uuid":"977515930","full_name":"stnc/-sinch-sdk-php","owner":"stnc","description":" Sinch PHP SDK for SMS, Numbers, Verification and Conversation APIs -- ","archived":false,"fork":false,"pushed_at":"2025-05-04T11:46:18.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-04T12:32:26.904Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/stnc.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-04T11:42:43.000Z","updated_at":"2025-05-04T11:47:56.000Z","dependencies_parsed_at":"2025-05-04T12:32:28.409Z","dependency_job_id":"3901fb4f-f017-45c5-9aa9-15954462c2e6","html_url":"https://github.com/stnc/-sinch-sdk-php","commit_stats":null,"previous_names":["stnc/-sinch-sdk-php"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stnc%2F-sinch-sdk-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stnc%2F-sinch-sdk-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stnc%2F-sinch-sdk-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stnc%2F-sinch-sdk-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stnc","download_url":"https://codeload.github.com/stnc/-sinch-sdk-php/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254478172,"owners_count":22077678,"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-05-16T06:11:47.504Z","updated_at":"2025-05-16T06:11:53.263Z","avatar_url":"https://github.com/stnc.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## ATTENTION THIS SDK IS STILL UNDER DEVELOPMENT. PLEASE SEE THE  [COVERAGE SECTION.](#Coverage)\n\n# Sinch PHP SDK\n\nHere you'll find documentation related to the Sinch php SDK, including how to install it, initialize it, and start developing PHP code using Sinch services.\n\nTo use Sinch services, you'll need a Sinch account and access keys. You can sign up for an account and create access keys at  [dashboard.sinch.com](https://dashboard.sinch.com).\n\nFor more information on the Sinch APIs on which this SDK is based, refer to the official [developer documentation portal](https://developers.sinch.com/).\n\n[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://github.com/sinch/sinch-sdk-dotnet/blob/main/LICENSE)\n\n\n## ATTENTION THIS SDK IS STILL UNDER DEVELOPMENT. PLEASE SEE THE  [COVERAGE SECTION.](#Coverage)\n\n\n## Installation \u0026 Usage\n\n### Requirements\n\nPHP 8.1 and later.\n\n### Composer\n\nTo install the package via [Composer](https://getcomposer.org/), run the following command:\n\n```bash\ncomposer require sinch/sinch-sdk-php\n```\n\n### Manual Installation\n\nDownload the files and include `autoload.php`:\n\n```php\n\u003c?php\nrequire_once('/path/to/vendor/autoload.php');\n```\n\n## Getting Started\n\nPlease follow the [installation procedure](#installation--usage) and then run the following:\n\n```php\n\u003c?php\nrequire_once(__DIR__ . '/vendor/autoload.php');\n\n\n\n// init\n$config = Sinch\\Configuration::getDefaultConfiguration((\"PROJECT_ID\", \"CLIENT_ID\", \"CLIENT_SECRET\", \"REGION\"));\n\n\n$sms = new Sinch\\Sms\\Batches(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    client: new GuzzleHttp\\Client(),\n    config: $config\n);\n\ntry {\n    $result = $sms-\u003eBatches-\u003eSend(data)();\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstnc%2F-sinch-sdk-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstnc%2F-sinch-sdk-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstnc%2F-sinch-sdk-php/lists"}