{"id":18910225,"url":"https://github.com/u-mulder/sms-charset-detector","last_synced_at":"2025-06-20T20:37:30.113Z","repository":{"id":57075010,"uuid":"321130267","full_name":"u-mulder/sms-charset-detector","owner":"u-mulder","description":"Detecting sms charset according to gsm charset gsm03.38","archived":false,"fork":false,"pushed_at":"2021-01-10T18:06:16.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-01T03:18:22.112Z","etag":null,"topics":["gsm","gsm-charset","gsm0338","sms","ucs"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/u-mulder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-13T18:18:49.000Z","updated_at":"2022-09-07T07:53:28.000Z","dependencies_parsed_at":"2022-08-24T09:40:06.657Z","dependency_job_id":null,"html_url":"https://github.com/u-mulder/sms-charset-detector","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/u-mulder/sms-charset-detector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/u-mulder%2Fsms-charset-detector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/u-mulder%2Fsms-charset-detector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/u-mulder%2Fsms-charset-detector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/u-mulder%2Fsms-charset-detector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/u-mulder","download_url":"https://codeload.github.com/u-mulder/sms-charset-detector/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/u-mulder%2Fsms-charset-detector/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261013435,"owners_count":23097039,"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":["gsm","gsm-charset","gsm0338","sms","ucs"],"created_at":"2024-11-08T09:41:43.283Z","updated_at":"2025-06-20T20:37:25.103Z","avatar_url":"https://github.com/u-mulder.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sms-charset-detector\n\n![GitHub Workflow Status](https://img.shields.io/github/workflow/status/u-mulder/sms_charset_detector/base-test-suite?style=flat-square)\n![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/u-mulder/sms-charset-detector?sort=semver\u0026style=flat-square)\n\nDetecting sms charset using [gsm charset](https://en.wikipedia.org/wiki/GSM_03.38).\n\nsms-charset-detector helps you to detect whether your sms content contains gsm charset symbols only or not.\n\n## Installation\n\nInstall package with [Composer](https://getcomposer.org/):\n\n```\n\u003e composer require um/sms-charset-detector\n```\n\n## Usage\n\nSimple usage:\n\n```php\nuse Um\\CharsetDetector\\BasicCharsetDetector;\n\n$detector = new BasicCharsetDetector();\n$message = 'Some message to be sent over sms';\n\n$encoding = $detector-\u003edetectCharset($message);\necho $encoding;\t// outputs either 'gsm' or 'ucs'\n\n// simple check if charset is 'gsm'\n$messageHasGsmCharset = $detector-\u003eisGsmCharset($message);\nvar_dump($messageHasGsmCharset);   // outputs either `true` or `false`\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fu-mulder%2Fsms-charset-detector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fu-mulder%2Fsms-charset-detector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fu-mulder%2Fsms-charset-detector/lists"}