ahmed-aliraqi/lang-generator

This package used to search for all lang keys from views and put them to lang files

v2.1.0 2023-03-03 21:18 UTC

This package is auto-updated.

Last update: 2024-03-30 00:26:15 UTC


README

This package used to search for all lang keys from views and put them to lang files

Installation

composer require ahmed-aliraqi/lang-generator --dev

The package will automatically register a service provider.

Configure

Next, you should publish the config file:

php artisan vendor:publish --provider="AhmedAliraqi\LangGenerator\ServiceProvider" --tag="config"
  • lang key contains the lang files and their paths.

Usage

php artisan lang:generate