PHP code example of luguohuakai / fanyi

1. Go to this page and download the library: Download luguohuakai/fanyi 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/ */

    

luguohuakai / fanyi example snippets



// 测试文件
return [
    'Operator' => '',
    'What are you doing' => '你在干什么',
    'Ok ok' => '好的好的',
    '可以的' => '',
    'What' => '什么',
    'haha' => '哈哈',
    'abc' => '',
    'Delete' => '删去',
    'Update' => '',
];