{"id":36317950,"url":"https://github.com/tinyappsde/deepl-client","last_synced_at":"2026-01-11T11:05:27.677Z","repository":{"id":40585731,"uuid":"352054850","full_name":"tinyappsde/deepl-client","owner":"tinyappsde","description":"Simple PHP client for the DeepL translation API","archived":false,"fork":false,"pushed_at":"2022-05-01T00:00:37.000Z","size":38,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-14T02:52:33.485Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tinyappsde.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":"2021-03-27T11:24:57.000Z","updated_at":"2022-08-23T21:32:25.000Z","dependencies_parsed_at":"2022-08-09T23:41:13.658Z","dependency_job_id":null,"html_url":"https://github.com/tinyappsde/deepl-client","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/tinyappsde/deepl-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinyappsde%2Fdeepl-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinyappsde%2Fdeepl-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinyappsde%2Fdeepl-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinyappsde%2Fdeepl-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinyappsde","download_url":"https://codeload.github.com/tinyappsde/deepl-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinyappsde%2Fdeepl-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28301495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T08:21:30.231Z","status":"ssl_error","status_checked_at":"2026-01-11T08:21:26.882Z","response_time":60,"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":[],"created_at":"2026-01-11T11:05:24.176Z","updated_at":"2026-01-11T11:05:27.673Z","avatar_url":"https://github.com/tinyappsde.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DeepL Client\nSimple PHP DeepL API client that supports PHP 8.\n\n## Installation\n`composer require tinyapps/deepl-client`\n\n## Usage\n\n```php\nuse TinyApps\\DeepL\\Translator;\nuse TinyApps\\DeepL\\Options;\nuse TinyApps\\DeepL\\TargetLanguage;\n\n$translator = new Translator('your_api_key');\n$result = $translator-\u003etranslate(\n\ttext: 'Hello World',\n\tsource: null, // let's DeepL auto-detect the source language\n\ttarget: TargetLanguage::GERMAN,\n\tpreserveFormatting: false,\n\tsplitSentences: Options::SPLIT_SENTENCES_DEFAULT,\n\tformality: Options::FORMALITY_DEFAULT,\n);\n\n$result-\u003egetText(); // translated text\n$result-\u003egetDetectedSourceLanguage(); // EN\n```\n\n## Unit Test\n\nRun `DEEPL_AUTH_KEY=[your key] composer test`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinyappsde%2Fdeepl-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinyappsde%2Fdeepl-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinyappsde%2Fdeepl-client/lists"}