{"id":16409665,"url":"https://github.com/coderatio/smartsms","last_synced_at":"2025-06-23T09:07:31.730Z","repository":{"id":56955607,"uuid":"123965144","full_name":"coderatio/smartsms","owner":"coderatio","description":"A flexible PHP library for smartsms solutions","archived":false,"fork":false,"pushed_at":"2018-04-10T14:40:01.000Z","size":28,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-23T09:07:25.049Z","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/coderatio.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}},"created_at":"2018-03-05T19:04:01.000Z","updated_at":"2019-07-15T18:14:57.000Z","dependencies_parsed_at":"2022-08-21T08:50:26.960Z","dependency_job_id":null,"html_url":"https://github.com/coderatio/smartsms","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/coderatio/smartsms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderatio%2Fsmartsms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderatio%2Fsmartsms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderatio%2Fsmartsms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderatio%2Fsmartsms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderatio","download_url":"https://codeload.github.com/coderatio/smartsms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderatio%2Fsmartsms/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261449799,"owners_count":23159806,"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-10-11T06:20:46.748Z","updated_at":"2025-06-23T09:07:26.719Z","avatar_url":"https://github.com/coderatio.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Smartsms\r\nA flexible PHP library for smartsms solutions\r\n\r\n# Installation\r\n\r\n`composer require coderatio/smartsms`\r\n\r\n# Usage\r\n\r\n```php\r\nrequire('vendor/autoload.php');\r\n\r\nuse Coderatio\\Smartsms\\Smartsms;\r\n\r\n$config['token'] = env('SMARTSMS_TOKEN'); \r\n// Or \r\n$config['token'] = \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\";\r\n\r\n$sms = Smartsms::init($config)\r\n    -\u003eto('XXX-XX-XXXX-XXXX')\r\n    -\u003efrom('Coderatio')\r\n    -\u003emessage('I have installed the library.')\r\n    -\u003esend();\r\n    \r\n```\r\n# Response\r\nThe library returns json and object response type.\r\n\r\n```php\r\n$sms-\u003easObject(); //Returns response as object\r\n\r\n$sms-\u003eresponse(); //Returns as json.\r\n```\r\n\r\n# Todo\r\n1. Send sms from files (txt, pdf, docs, .xls)\r\n2. Test (Phpunit)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderatio%2Fsmartsms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderatio%2Fsmartsms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderatio%2Fsmartsms/lists"}