PHP code example of procyonweb / laravel-translation-generator

1. Go to this page and download the library: Download procyonweb/laravel-translation-generator 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/ */

    

procyonweb / laravel-translation-generator example snippets


php artisan vendor:publish --provider="ProcyonWeb\TranslationGenerator\ServiceProvider"
shell script
php artisan translation:show-missing {lang=en} # shows untranslated text in file
php artisan translation:show-files # shows all files found by configuration
php artisan translation:generate {lang=en} {--upload} # generates missing keys for translation file and upload to Phrase
php artisan translation:download # download all translation from Phrase