1. Go to this page and download the library: Download miyayeh/trans 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/ */
app('BdTrans')->translate('如何安装 Laravel');
//How to install the Laravel
// or
use BdTrans;
BdTrans::translate('如何安装 Laravel');
//How to install the Laravel
app('BdTrans')->slug('如何安装 Laravel');
//how-to-install-the-laravel
// or
use Translug;
BdTrans::slug('如何安装 Laravel');
//how-to-install-the-laravel
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.