Download the PHP package salmanbe/deepl without Composer
On this page you can find all versions of the php package salmanbe/deepl. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download salmanbe/deepl
More information about salmanbe/deepl
Files in salmanbe/deepl
Package deepl
Short Description Laravel library to import translations from Deepl Api
License MIT
Informations about the package deepl
Laravel Deepl
This is an easy to use laravel library to import translations from Deepl Api. You must go to 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.
Video Tutorial
Laravel Installation
Install using composer:
There 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
:
You can also add it as a Facade in config/app.php
:
Add 2 lines to config/app.php
Add 2 lines to .env
Basic Usage
Add use Salmanbe\Deepl\Deepl;
or use Deepl;
at top of the class where you want to use it. Then create class instance.
Set text, target and source language. source language is optional.
Uninstall
First remove Salmanbe\Deepl\DeeplServiceProvider::class,
and
'Deepl' => Salmanbe\Deepl\Deepl::class,
from config/app.php
if it was added.
Then Run composer remove salmanbe/deepl
License
This library is licensed under THE MIT License. Please see License File for more information.
Security contact information
To report a security vulnerability, follow these steps.