PHPackages                             fei/translate-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. fei/translate-client

ActiveProject[Localization &amp; i18n](/categories/localization)

fei/translate-client
====================

Flash applicative Translate - client component

v1.8.0(4y ago)08.5k[3 PRs](https://github.com/flash-global/translate-client/pulls)1GPL-3.0PHPPHP &gt;=5.5

Since Mar 16Pushed 2y ago20 watchersCompare

[ Source](https://github.com/flash-global/translate-client)[ Packagist](https://packagist.org/packages/fei/translate-client)[ RSS](/packages/fei-translate-client/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (10)Versions (28)Used By (1)

Service Translate - Client
==========================

[](#service-translate---client)

[![GitHub release](https://camo.githubusercontent.com/e7c28575b7b66bf727e8e08a7a073b9ad4e6c8babb29c82f9f01b05ea4881b64/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f666c6173682d676c6f62616c2f7472616e736c6174652d636c69656e742e7376673f7374796c653d666f722d7468652d6261646765)](README.md)

Table of contents
-----------------

[](#table-of-contents)

- [Purpose](#purpose)
- [Requirements](#requirements)
    - [Runtime](#runtime)
- [Step by step installation](#step-by-step-installation)
    - [Initialization](#initialization)
    - [Configuration](#configuration)
    - [Settings](#settings)
    - [Known issues](#known-issues)
- [Contribution](#contribution)
- [Link to documentation](#link-to-documentation)
    - [Examples](#examples)

Purpose
-------

[](#purpose)

This client permit to use the `Translate Api`. Thanks to it, you could request the API to :

- Fetch data
- Create data
- Update data
- Delete data

easily

Requirements
------------

[](#requirements)

### Runtime

[](#runtime)

- PHP 5.5

Step by step Installation
-------------------------

[](#step-by-step-installation)

> for all purposes (devlopment, contribution and production)

### Initialization

[](#initialization)

- Cloning repository `git clone https://github.com/flash-global/translate-client.git`
- Run Composer depedencies installation `composer install`

### Configuration

[](#configuration)

The Translate client needs some options to work properly. The available options that can be passed to the `__construct()` or `setOptions()` methods are :

OptionDescriptionTypePossible ValuesDefaultOPTION\_BASEURLThis is the server to which send the requests.stringAny URL, including protocol but excluding path--OPTION\_HEADER\_AUTHORIZATIONApi Key for authentificationstringAny string value''### Settings

[](#settings)

Don't forget to set the right `baseUrl` :

```
