PHP code example of larswiegers / laravel-translations-checker
1. Go to this page and download the library: Download larswiegers/laravel-translations-checker 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/ */
larswiegers / laravel-translations-checker example snippets
php artisan translations:check
php artisan translations:check --directory=resources/lang
php artisan translations:check --excludedDirectories=lang/vendor
'excluded_directories' => ['lang/vendor'],
exclude_languages = ["en", "fr", "es"]
php artisan translations:check --excludedFileExtensions=php