{"id":25171515,"url":"https://github.com/basemax/lmphp","last_synced_at":"2026-03-09T08:03:06.694Z","repository":{"id":62491948,"uuid":"159956339","full_name":"BaseMax/LMPHP","owner":"BaseMax","description":"Multi-language management and support on the site.","archived":false,"fork":false,"pushed_at":"2019-04-01T00:32:09.000Z","size":64,"stargazers_count":20,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-25T11:57:29.613Z","etag":null,"topics":["class","language","language-manager","language-translation","languages","lmphp","multi-language","multi-language-management","multi-language-support","multilang","multilanguage","multilanguage-support","multilanguague","oop","php","translate","translater","translates","translation","translation-management"],"latest_commit_sha":null,"homepage":"https://www.phpclasses.org/package/11046-PHP-Support-to-multiple-languages-to-PHP-applications.html","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BaseMax.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-12-01T15:08:20.000Z","updated_at":"2024-11-21T20:05:20.000Z","dependencies_parsed_at":"2022-11-02T11:03:38.808Z","dependency_job_id":null,"html_url":"https://github.com/BaseMax/LMPHP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BaseMax/LMPHP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FLMPHP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FLMPHP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FLMPHP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FLMPHP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BaseMax","download_url":"https://codeload.github.com/BaseMax/LMPHP/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FLMPHP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30287449,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["class","language","language-manager","language-translation","languages","lmphp","multi-language","multi-language-management","multi-language-support","multilang","multilanguage","multilanguage-support","multilanguague","oop","php","translate","translater","translates","translation","translation-management"],"created_at":"2025-02-09T09:20:44.895Z","updated_at":"2026-03-09T08:03:06.673Z","avatar_url":"https://github.com/BaseMax.png","language":"PHP","readme":"# LM PHP (Language management PHP)\n\n## Multi Language PHP\n\nMulti-language management and support on the php (web).\n\n## LMPHP Features \n\n- Easy\n- Compact\n- Useful\n\n# LM-PHP Functions\n\n## **word_add**\nAdd a word to active language.\n\n**Return :**\nBool\n\n**Parameters :**\n- $name(name of the word)\n- __Optional__, $value(value of the word)\n\n## word_get\nGet a word from active language.\n\n**Return :**\nThe value of word.\n\n**Parameters :**\n- $name(name of the word)\n\n## word_add_to\nAdd a word to custom language.\n\n**Return :**\nBool\n\n**Parameters :**\n- $lang(language name)\n- $name(name of the word)\n- __Optional__, $value(value of the word)\n\n## language_add\nAdd a new language.\n\n**Return :**\nBool\n\n**Parameters :**\n- $key(language name)\n\n## language_remove\nRemove a language. \n\n**Return :**\nBool\n\n**Parameters :**\n- $key(language name)\n\n## language_active\nActivate a language.\n\n**Return :**\nBool\n\n**Parameters :**\n- $key(language name)\n\n## language_current\nGet current active language.\n\n**Return :**\nName of the active language.\n\n**Parameters :**\nNone\n\n## language_exists\nCheck a language is exists or not.\n\n**Return :**\nBool\n\n**Parameters :**\n- $key (language name)\n\n## language\nGet list of the languages or list of the words of a language.\n\n**Return :**\nArray\n\n**Parameters :**\n- __Optional__, $filter(language name)\n\n## Introduction\n\nThis library is simple and lightweight and can be used for language management.\n**It called LM-PHP(LMPHP).**\n\nThis project started to be used for personal use.\nAt the very beginning, the project was used in the infrastructure of the servers of a project in India.\nTo be able to manage language and vocabulary more easily. (International projects)\n\nWith my decision, this project was put up for free.\n\n## History\n\n- **Version 0.1 (first)** : 2018 - 2018-12-01\n- **Version 1.0** : 2018-12-01 - 2019-01-22\n- **Version 1.1** : 2019-01-22\n\n# License\n\nLMPHP is licensed under the [GNU General Public License](https://github.com/BaseMax/LMPHP/blob/master/LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Flmphp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasemax%2Flmphp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Flmphp/lists"}