Download the PHP package fidum/laravel-translation-linter without Composer
On this page you can find all versions of the php package fidum/laravel-translation-linter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fidum/laravel-translation-linter
More information about fidum/laravel-translation-linter
Files in fidum/laravel-translation-linter
Package laravel-translation-linter
Short Description Commands to help you keep your laravel translations organized.
License MIT
Homepage https://github.com/fidum/laravel-translation-linter
Informations about the package laravel-translation-linter
Laravel Translation Linter
This package provides commands to help you keep your translations organized.
Shoutout to Hexadog for their package laravel-translation-manager which was used as the foundation for this package.
Installation
You can install the package via composer:
You can publish the config file with:
Click here to see the contents of the config file.
You should read through the config, which serves as additional documentation and make changes as needed.
Missing Command
This reads through all your code and finds all your language function usage. Then attempts to find matches in your language files and will output any keys in your code that do not exist as a language key.
You can generate a baseline file which will be used to ignore specific keys with the
--generate-baseline
or -b
command options:
Unused Command
This reads through all your code and finds all your language function usage. Then attempts to find matches in your language files and will output any language keys that are not being used in your code.
Note: Some language keys are filtered out by default, you can change the filters used in the config file.
You can generate a baseline file which will be used to ignore specific keys with the
--generate-baseline
or -b
command options:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Dan Mason
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-translation-linter with dependencies
spatie/laravel-package-tools Version ^1.14.0
illuminate/contracts Version ^10.0|^11.0