{"id":13758584,"url":"https://github.com/jawish/thaana_conversions_php","last_synced_at":"2025-03-14T11:24:36.317Z","repository":{"id":16211221,"uuid":"18958220","full_name":"jawish/thaana_conversions_php","owner":"jawish","description":"PHP 5 class that provides a drop-in function replacement/equivalent for the built-in PHP date() function to output formatted dates in Thaana/Dhivehi.","archived":false,"fork":false,"pushed_at":"2014-04-20T05:18:52.000Z","size":112,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T05:25:30.538Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jawish.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":"2014-04-20T05:17:33.000Z","updated_at":"2024-08-06T19:22:48.000Z","dependencies_parsed_at":"2022-08-24T19:41:08.775Z","dependency_job_id":null,"html_url":"https://github.com/jawish/thaana_conversions_php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jawish%2Fthaana_conversions_php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jawish%2Fthaana_conversions_php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jawish%2Fthaana_conversions_php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jawish%2Fthaana_conversions_php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jawish","download_url":"https://codeload.github.com/jawish/thaana_conversions_php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243566760,"owners_count":20311931,"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-08-03T13:00:33.205Z","updated_at":"2025-03-14T11:24:36.292Z","avatar_url":"https://github.com/jawish.png","language":"PHP","funding_links":[],"categories":["Table of Contents"],"sub_categories":["PHP Projects"],"readme":"The Thaana Conversions class for PHP provides a number of useful functions for the conversion and transliteration of text between various Thaana representation formats.\n\n## Functions exposed\n- convertUtf8ToUnicodeIntegers()\nConvert UTF-8 data to Unicode character integer representations\n\n- convertUtf8ToAscii()\nConvert UTF-8 data to Ascii\n\n- convertUtf8ToEntities()\nConvert UTF-8 data to HTML entities\n\n- convertEntitiesToUnicodeIntegers()\nConvert HTML Unicode entitied string to Unicode Integer characters array\n\n- convertEntitiesToUtf8\nConvert HTML Unicode entities to UTF-8\n\n- convertEntitiesToAscii()\nConvert HTML Unicode entities to Dhivehi Ascii equivalents\n\n- convertUnicodeIntegersToUtf8()\nConvert Unicode Integer array to UTF\n\n- convertUnicodeIntegersToEntities()\nConvert Unicode char integers to HTML entities\n\n- convertUnicodeIntegersToAscii()\nConvert Unicode char integers to Ascii\n\n- convertAsciiToUtf8()\nConvert Ascii Thaana to UTf-8\n\n- convertAsciiToEntities()\nConvert Ascii Thaana to Unicode HTML entities\n\n- convertAsciiToUnicodeIntegers()\nConvert Ascii Thaana to an array of Unicode integers\n\n- convertLatinToAscii()\nConverts Dhivehi written in Latin to Thaana in . Use with the convertAsciiTo* functions to convert to Thaana script formats.\n\n- convertAsciiToLatin()\nConverts Dhivehi written in Ascii representation to Latinized Dhivehi.\n\n## Usage\n```php\n\u003c?php\n\n// Load the class\nrequire 'thaana_conversions.obj.php';\n\n// Initialize the Thaana object\n$thaana = new Thaana_Conversions();\n\n// Example: Converting latin to ascii\necho $thaana-\u003econvertLatinToAscii('miadhakee haadha reethi dhuvahekeve.');\n\n// Example: Converting ascii to latin\necho $thaana-\u003econvertAsciiToLatin('miawdwkI hWdw rIti duvwhekeve.');\n?\u003e\n```\n\n## Requirements\nPHP 5\n\n## License\nThis script is released under the Open Source MIT License, allowing its use in both personal and commercial applications as long as the copyright and license permission notice remains intact.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjawish%2Fthaana_conversions_php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjawish%2Fthaana_conversions_php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjawish%2Fthaana_conversions_php/lists"}