{"id":16078427,"url":"https://github.com/skocimis/textflow-php","last_synced_at":"2025-04-05T10:43:30.600Z","repository":{"id":65537725,"uuid":"594243414","full_name":"Skocimis/textflow-php","owner":"Skocimis","description":"PHP library that helps you send SMS using TextFlow API","archived":false,"fork":false,"pushed_at":"2023-07-23T10:51:37.000Z","size":21,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T10:43:26.692Z","etag":null,"topics":["api","api-client","php","php-library","php8","simple-sms","sms","sms-api","sms-verification","text-message"],"latest_commit_sha":null,"homepage":"https://textflow.me","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/Skocimis.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}},"created_at":"2023-01-27T23:56:45.000Z","updated_at":"2023-01-31T23:28:02.000Z","dependencies_parsed_at":"2024-10-12T00:16:18.049Z","dependency_job_id":null,"html_url":"https://github.com/Skocimis/textflow-php","commit_stats":{"total_commits":21,"total_committers":1,"mean_commits":21.0,"dds":0.0,"last_synced_commit":"6519b6b9befb5f4d0f1192b4f722fc10cb360562"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Skocimis%2Ftextflow-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Skocimis%2Ftextflow-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Skocimis%2Ftextflow-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Skocimis%2Ftextflow-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Skocimis","download_url":"https://codeload.github.com/Skocimis/textflow-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247325648,"owners_count":20920713,"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":["api","api-client","php","php-library","php8","simple-sms","sms","sms-api","sms-verification","text-message"],"created_at":"2024-10-09T10:12:32.618Z","updated_at":"2025-04-05T10:43:30.581Z","avatar_url":"https://github.com/Skocimis.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Textflow PHP client\n\n[![Packagist](https://img.shields.io/packagist/v/textflow/sms-api.svg)](https://packagist.org/packages/textflow/sms-api)\n[![Packagist](https://img.shields.io/packagist/dt/textflow/sms-api.svg)](https://packagist.org/packages/textflow/sms-api)\n\n## Documentation\nHere you will see just a sample usage of sending an SMS, for more instructions (including methods for user verification) check out our [official PHP documentation](https://docs.textflow.me/php). \n\n## Installation\n`composer require textflow/sms-api`\n\n## Sample Usage\n\nTo send an SMS, you have to create an API key using the [Textflow dashboard](https://textflow.me/api). When you register an account, you automatically get an API key with one free SMS which you can send anywhere.\n\n### Just send a message\n\n```php\nrequire_once 'vendor/autoload.php';\n\n$client = new TextFlowClient(\"YOUR_API_KEY\");\n\n$client-\u003esend_sms(\"+38112312341\", \"SMS body...\");\n```\n\n### Handle send message request result\n\n```php\n$res = $client-\u003esend_sms(\"+38112312341\", \"SMS body...\");\n\nif ($res-\u003eok)\n    var_dump($res-\u003edata);\nelse\n    var_dump($res-\u003emessage);\n```\n\n### Example result object of the successfully sent message\n\n```json\n{\n    \"ok\": true,\n    \"status\": 200,\n    \"message\": \"Message sent successfully\",\n    \"data\": {\n        \"to\": \"+381611231234\",\n        \"content\": \"Dummy message text...\",\n        \"country_code\": \"RS\",\n        \"price\": 0.05,\n        \"timestamp\": 1674759108881\n    }\n}\n```\n\n### Example result object of the unsuccessfully sent message\n\n```json\n{\n    \"ok\": false,\n    \"status\": 404,\n    \"message\": \"API key not found\"\n}\n```\n\n## Getting help\n\nIf you need help installing or using the library, please check the [FAQ](https://textflow.me) first, and contact us at [support@textflow.me](mailto://support@textflow.me) if you don't find an answer to your question.\n\nIf you've found a bug in the API, package or would like new features added, you are also free to contact us!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskocimis%2Ftextflow-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskocimis%2Ftextflow-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskocimis%2Ftextflow-php/lists"}