filipponik / laravel-translate-analyzer
Translating keys analyzer package for laravel
v0.0.1
2023-05-25 17:11 UTC
Requires
- php: ^7.4|^8.0
- filipponik/translate-analyzer: ^0.0.2
- laravel/framework: ^8.0|^9.0|^10.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.13
- phpmd/phpmd: ^2.13
- symfony/var-dumper: ^6.1
This package is auto-updated.
Last update: 2024-11-29 11:58:40 UTC
README
Installing
Install package
composer require filipponik/laravel-translate-analyzer --dev
Add service provider to your config/app.php
file:
... 'providers' => [ ... \Filipponik\LaravelTranslateAnalyzer\Providers\TranslateServiceProvider::class, ], ...
Usage
If you want to get duplicated values in your lang files, use command below:
php artisan translate:check-duplicates
If you want to analyze your code and fill lang files, use command below:
php artisan translate:fill-files