PHP code example of ejesus / laravel-auto-translator

1. Go to this page and download the library: Download ejesus/laravel-auto-translator 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/ */

    

ejesus / laravel-auto-translator example snippets


php artisan translator:run --from=<source_language> --to=<target_languages>

php artisan translator:run --from=en --to=pt,es