{"id":15077668,"url":"https://github.com/extendy/jormall-sms-bundle","last_synced_at":"2026-02-27T04:01:36.152Z","repository":{"id":244398740,"uuid":"815133725","full_name":"Extendy/jormall-sms-bundle","owner":"Extendy","description":"A Symfony bundle to deal with Jormall SMS API","archived":false,"fork":false,"pushed_at":"2024-08-25T09:42:55.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T07:23:48.211Z","etag":null,"topics":["jormallsms","sms-api","sms-client","symfony-bundle","symfony7"],"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/Extendy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-14T12:27:31.000Z","updated_at":"2024-08-25T09:42:14.000Z","dependencies_parsed_at":"2024-06-14T13:46:28.672Z","dependency_job_id":"08abde35-dd58-4259-bb2b-b72293707cad","html_url":"https://github.com/Extendy/jormall-sms-bundle","commit_stats":{"total_commits":15,"total_committers":3,"mean_commits":5.0,"dds":"0.33333333333333337","last_synced_commit":"041079882f82a9d0ad7e3bb1534f890a8449b8fb"},"previous_names":["extendy/jormall-sms-bundle"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Extendy%2Fjormall-sms-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Extendy%2Fjormall-sms-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Extendy%2Fjormall-sms-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Extendy%2Fjormall-sms-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Extendy","download_url":"https://codeload.github.com/Extendy/jormall-sms-bundle/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239370688,"owners_count":19627472,"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":["jormallsms","sms-api","sms-client","symfony-bundle","symfony7"],"created_at":"2024-09-25T04:06:25.288Z","updated_at":"2025-10-25T19:32:17.653Z","avatar_url":"https://github.com/Extendy.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jormall SMS Bundle\n\nThis is a Symfony bundle that provides an easy way to send SMS using the [Jormall SMS web service](http://josmsservice.com/). \n\n## Features\n\n- Send SMS messages using the Jormall SMS API.\n- Get the balance of the account.\n- Handle connection and request errors gracefully.\n\n## Requirements\n\n- PHP 8.2 or higher\n- GuzzleHttp 7.8 or higher\n- Symfony Framework Bundle 7.0 or higher\n- User must have an active SMS account with JorMall\n- The SMS account must have SMS balance.\n- The used sender through this web service must be registered by JorMall before its being used.\n\n## Installation\n\nAdd the following to your `composer.json`:\n\n```json\n\"require\": {\n    \"extendy/jormall-sms-bundle\": \"0.0.0-beta.1\"\n}\n```\n\nor by running:\n\n```bash\ncomposer require extendy/jormall-sms-bundle\n```\n\nedit tour `.env` file and add the following (and replace the values with your Jormall sms account details):\n\n```dotenv\nJORMALLSMS_SENDERID=SENDERNAME\nJORMALLSMS_ACCNAME=ACCOUNTUSERNAME\nJORMALLSMS_ACCPASS=ACCOUNTPASSWORD\n```\n\n\n## Usage\n\nYou can use the `JormallSmsService` service to send SMS messages or get the balance. Here is an example (while using it in a controller):\n\n```php\n\u003c?php\n\nnamespace App\\Controller;\n\nuse Extendy\\JormallSmsBundle\\Service\\JormallSmsService;\n\nuse Symfony\\Bundle\\FrameworkBundle\\Controller\\AbstractController;\nuse Symfony\\Component\\HttpFoundation\\Response;\nuse Symfony\\Component\\Routing\\Attribute\\Route;\n\nclass TestController extends AbstractController\n{\n    private $jormallSmsService;\n\n    public function __construct(JormallSmsService $jormallSmsService)\n    {\n        $this-\u003ejormallSmsService = $jormallSmsService;\n    }\n\n\n    #[Route('/test', name: 'app_test')]\n    public function index()\n    {\n        $msg = \"Hello, this is a test message\";\n        // send sms\n        dd($this-\u003ejormallSmsService-\u003esendSms(\"962777774221\", $msg, \"1\"));\n\n    }\n\n    #[Route('/test/balance', name: 'app_test_balance')]\n    public function balance()\n    {\n        // get sms balance\n        dd($this-\u003ejormallSmsService-\u003egetBalance());\n\n    }\n\n}\n\n```\n\n## License\n\nThis package is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextendy%2Fjormall-sms-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fextendy%2Fjormall-sms-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextendy%2Fjormall-sms-bundle/lists"}