{"id":15412203,"url":"https://github.com/maymeow/cakephp-twilio","last_synced_at":"2025-10-13T22:09:41.385Z","repository":{"id":57036637,"uuid":"268849352","full_name":"MayMeow/cakephp-twilio","owner":"MayMeow","description":"📱 Plugin to send SMS messages with Twilio Gateway.","archived":false,"fork":false,"pushed_at":"2020-06-02T20:31:45.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-13T22:09:41.064Z","etag":null,"topics":["cakephp","cakephp-plugin","messaging","notifications","php","sms","twilio"],"latest_commit_sha":null,"homepage":"","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/MayMeow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-02T16:15:06.000Z","updated_at":"2022-09-14T16:18:32.000Z","dependencies_parsed_at":"2022-08-24T06:40:31.660Z","dependency_job_id":null,"html_url":"https://github.com/MayMeow/cakephp-twilio","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/MayMeow/cakephp-twilio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MayMeow%2Fcakephp-twilio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MayMeow%2Fcakephp-twilio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MayMeow%2Fcakephp-twilio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MayMeow%2Fcakephp-twilio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MayMeow","download_url":"https://codeload.github.com/MayMeow/cakephp-twilio/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MayMeow%2Fcakephp-twilio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017152,"owners_count":26085983,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cakephp","cakephp-plugin","messaging","notifications","php","sms","twilio"],"created_at":"2024-10-01T16:51:42.003Z","updated_at":"2025-10-13T22:09:41.364Z","avatar_url":"https://github.com/MayMeow.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CakephpTwilio plugin for CakePHP\n\n## Installation\n\nYou can install this plugin into your CakePHP application using [composer](https://getcomposer.org).\n\nThe recommended way to install composer packages is:\n\n```\ncomposer require maymeow/cakephp-twilio\n```\n\nOpen your `src/Application.php` file and load module\n\n```php\n//add into bootstrap function\n$this-\u003eaddPlugin('CakephpTwilio');\n```\n\nTo load component add it to `src/AppController.php` for whole application or to any of your controllers by demand.\n\n```php\n$this-\u003eloadComponent('CakephpTwilio.Twilio');\n```\n\n## Configuration\n\nThis plugin using Twilio/SDK. To sending SMS, Twilio account is required. From your\nnumber management in settings recieve your SID and TOKEN and add following lines to your\nconfig file `config/app_local.php`:\n\n```php\n[\n//... other configuration\n\n    /**\n     * Twilio SMS gate configuration\n     */\n    'Twilio' =\u003e [\n        /**\n         * From: use mobile phone number or string A-Za-z1-0 max length 11 characters\n         * @see https://www.twilio.com/docs\n         */\n        'From' =\u003e '_NUMBER_OR_TEXT_',\n        'Sid' =\u003e '_YOUR_SID_',\n        'Token' =\u003e '_YOUR_TOKEN_'\n    ],\n\n// ... end of file\n];\n```\n\n## How to use it\n\nYou can send message from any controller using Twilio component\n\n```php\nuse CakephpTwilio\\Model\\Message;\n\n$this-\u003eTwilio\n    -\u003esend(new Message('PhoneNumber', \"Text\"));\n```\n\nif you want change `from` variable\n\n```php\n$this-\u003eTwilio\n    -\u003esend(new Message('PhoneNumber', \"Text\", \"NumberOrText\"));\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaymeow%2Fcakephp-twilio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaymeow%2Fcakephp-twilio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaymeow%2Fcakephp-twilio/lists"}