ahmed-aliraqi/lang-generator

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

v3.0.0 2025-07-13 18:27 UTC

This package is auto-updated.

Last update: 2025-07-13 18:28:20 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