{"id":21802071,"url":"https://github.com/php-translation/translator","last_synced_at":"2025-04-05T07:07:30.163Z","repository":{"id":53512421,"uuid":"74956849","full_name":"php-translation/translator","owner":"php-translation","description":"Services to translate strings, Like GoogleTranslate and BingTranslate","archived":false,"fork":false,"pushed_at":"2025-03-03T15:43:36.000Z","size":27,"stargazers_count":25,"open_issues_count":9,"forks_count":17,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-29T06:08:28.385Z","etag":null,"topics":[],"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/php-translation.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":null,"support":null}},"created_at":"2016-11-28T09:24:37.000Z","updated_at":"2023-09-08T06:10:32.000Z","dependencies_parsed_at":"2022-09-08T05:11:23.217Z","dependency_job_id":null,"html_url":"https://github.com/php-translation/translator","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-translation%2Ftranslator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-translation%2Ftranslator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-translation%2Ftranslator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-translation%2Ftranslator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/php-translation","download_url":"https://codeload.github.com/php-translation/translator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299832,"owners_count":20916190,"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-11-27T11:22:34.910Z","updated_at":"2025-04-05T07:07:30.133Z","avatar_url":"https://github.com/php-translation.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Translator services\n\n[![Latest Version](https://img.shields.io/github/release/php-translation/translator.svg?style=flat-square)](https://github.com/php-translation/translator/releases)\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)\n[![Total Downloads](https://img.shields.io/packagist/dt/php-translation/translator.svg?style=flat-square)](https://packagist.org/packages/php-translation/translator)\n\n**Services that can be used to translate strings**\n\n\n## Install\n\nThe first thing you need to do is to install a HTTP client. Please read [HTTPlug quickstart](http://docs.php-http.org/en/latest/httplug/users.html).\nWhen the client is installed you may install this package with composer by running:\n\n``` bash\ncomposer require php-translation/translator\n```\n\n## Intro\n\n```php\n\n$translator = new Translator();\n$translator-\u003eaddTranslatorService(new GoogleTranslator('api_key'));\n\necho $translator-\u003etranslate('apple', 'en', 'sv'); // \"äpple\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-translation%2Ftranslator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphp-translation%2Ftranslator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-translation%2Ftranslator/lists"}