ahmed-aliraqi/lang-generator

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

v1.0.0 2021-03-11 08:17 UTC

This package is auto-updated.

Last update: 2021-10-11 10:03:40 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