friendsofapi / localise.biz
A community API client for localise.biz translation service
Installs: 1 661 970
Dependents: 1
Suggesters: 0
Security: 0
Stars: 25
Watchers: 4
Forks: 13
Open Issues: 2
Requires
- php: >=7.2
- php-http/client-common: ^1.9 || ^2.0
- php-http/discovery: ^1.0
- php-http/httplug: ^1.0 || ^2.0
- php-http/multipart-stream-builder: ^1.0
Requires (Dev)
- guzzlehttp/psr7: ^1.3
- nyholm/nsa: ^1.0
- php-http/guzzle7-adapter: ^1.0
- php-http/message: ^1.0
- php-http/message-factory: ^1.0
- phpunit/phpunit: ^8.5
README
A community client for Loco (Localise.biz). The official api client is found here.
Install
Via Composer
$ composer require friendsofapi/localise.biz
Usage
$apiClient = new LocoClient(); $response = $apiClient->translations()->show('project_key', 'hello_world', 'sv'); echo $response->getTranslation(); // "Hej världen"
License
The MIT License (MIT). Please see License File for more information.