Download the PHP package apih/laravel-lang-helper without Composer
On this page you can find all versions of the php package apih/laravel-lang-helper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download apih/laravel-lang-helper
More information about apih/laravel-lang-helper
Files in apih/laravel-lang-helper
Package laravel-lang-helper
Short Description Language helper commands for Laravel-based application
License MIT
Homepage https://github.com/apih/laravel-lang-helper
Informations about the package laravel-lang-helper
Laravel Language Helper
This package provides helper commands that can be used in managing and organizing language localization messages.
Requirements
- PHP:
^8.0
- Laravel:
^8.0|^9.0|^10.0|^11.0|^12.0
Installation
You can install the package via Composer:
The Apih\LangHelper\LangHelperServiceProvider
class is auto-discovered and registered by default.
If you want to register it yourself, add the service provider in config/app.php
:
Usage
Find Missing Translations
You can find messages with missing translations with:
This command will list all messages with missing translations for the target locale.
By default, this command will scan the following directories:
If you need to add additional directories, use add-dirs
option:
Find Duplicates In JSON Files
You can find keys which have same translation message in JSON files with:
Sort Messages In JSON Files
You can sort translation messages alphabetically in JSON files with:
Security Vulnerabilities
If you discover any security related issues, please email [email protected] instead of using the issue tracker. Please prefix the subject with Laravel Lang Helper:
.
Credits
- Mohd Hafizuddin M Marzuki
- All Contributors
License
The MIT License (MIT). Please see License File for more information.