{"id":23772178,"url":"https://github.com/salmanbe/deepl","last_synced_at":"2026-05-08T17:35:48.762Z","repository":{"id":187973182,"uuid":"677899825","full_name":"salmanbe/deepl","owner":"salmanbe","description":"Laravel library to import translations from Deepl Api","archived":false,"fork":false,"pushed_at":"2023-08-16T13:42:14.000Z","size":24,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-01T04:53:26.736Z","etag":null,"topics":["deepl","laravel","php","translation"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/salmanbe.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,"governance":null}},"created_at":"2023-08-13T02:51:54.000Z","updated_at":"2024-05-31T15:53:04.000Z","dependencies_parsed_at":"2023-08-13T03:24:40.819Z","dependency_job_id":null,"html_url":"https://github.com/salmanbe/deepl","commit_stats":null,"previous_names":["salmanbe/deepl"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salmanbe%2Fdeepl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salmanbe%2Fdeepl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salmanbe%2Fdeepl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salmanbe%2Fdeepl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/salmanbe","download_url":"https://codeload.github.com/salmanbe/deepl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239958311,"owners_count":19724926,"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":["deepl","laravel","php","translation"],"created_at":"2025-01-01T04:53:31.546Z","updated_at":"2026-04-01T20:30:18.206Z","avatar_url":"https://github.com/salmanbe.png","language":"PHP","funding_links":["https://tidelift.com/security"],"categories":[],"sub_categories":[],"readme":"Laravel Deepl\n====\nThis is an easy to use laravel library to import translations from Deepl Api. You must go to [www.deepl.com](https://www.deepl.com) to register and acquire an API key to use with this library. Please note that neither this laravel library is made on behalf of deepl nor developer is acting on behalf of deepl. There is no corporation between Deepl and this library. Deepl is not responsible for this library. Deepl API credit goes to deepl.\n\nVideo Tutorial\n-------\n[![Laravel Deepl](https://img.youtube.com/vi/ljoFvgCS2og/0.jpg)](https://www.youtube.com/watch?v=ljoFvgCS2og)\n\nLaravel Installation\n-------\nInstall using composer:\n\n```bash\ncomposer require salmanbe/deepl\n```\n\nThere is a service provider included for integration with the Laravel framework. This service should automatically be registered else to register the service provider, add the following to the providers array in `config/app.php`:\n\n```php\nSalmanbe\\Deepl\\DeeplServiceProvider::class,\n```\nYou can also add it as a Facade in `config/app.php`:\n```php\n'Deepl' =\u003e Salmanbe\\Deepl\\Deepl::class,\n```\nAdd 2 lines to config/app.php\n```php\n'deepl_url' =\u003e env('DEEPL_URL', ''),\n'deepl_key' =\u003e env('DEEPL_KEY', ''),\n```\n\nAdd 2 lines to .env\n```php\nDEEPL_URL=https://api-free.deepl.com/v2/translate  // https://api.deepl.com/v2/translate for pro\nDEEPL_KEY=your_deepl_api_key                       // Get api key from www.deepl.com\n```\n\nBasic Usage\n-----\n\nAdd `use Salmanbe\\Deepl\\Deepl;` or `use Deepl;` at top of the class where you want to use it. Then create class instance.\n\n```php\n$deepl = new Deepl();\n```\nSet text, target and source language. source language is optional.\n```php\n$deepl-\u003eget($text, $target_lang, $source_lang);\n$deepl-\u003eget('Welcome', 'fr', 'en');\n```\n\nUninstall\n-----\nFirst remove `Salmanbe\\Deepl\\DeeplServiceProvider::class,` and \n`'Deepl' =\u003e Salmanbe\\Deepl\\Deepl::class,` from `config/app.php` if it was added.\nThen Run `composer remove salmanbe/deepl` \n\n## License\n\nThis library is licensed under THE MIT License. Please see [License File](https://github.com/salmanbe/deepl/blob/master/LICENSE) for more information.\n\n## Security contact information\n\nTo report a security vulnerability, follow [these steps](https://tidelift.com/security).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalmanbe%2Fdeepl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalmanbe%2Fdeepl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalmanbe%2Fdeepl/lists"}