PHP code example of bog / abbyy-lingvo-php

1. Go to this page and download the library: Download bog/abbyy-lingvo-php library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

bog / abbyy-lingvo-php example snippets


$api = new AbbyyLingvo\Api('apiKey');

$api->translation('plum', Languages::EN, Languages::RU);

$api->wordList('mother', Languages::EN, Languages::RU, 20);

$api->wordList('mother', Languages::EN, Languages::RU, 20);

$api->minicard('test', Languages::EN, Languages::RU);

$api->search('board', Languages::EN, Languages::RU, SearchZones::ALL, 0, 10);

$api->article('pin', 'Electronics (En-Ru)', Languages::EN, Languages::RU);

$api->suggests('helo', Languages::EN, Languages::RU);

$api->wordForms('колено', Languages::RU);

$api->sound('LingvoUniversal (En-Ru)', 'bang.wav');

composer