Download the PHP package lenorix/fluentizy-laravel-tools without Composer
On this page you can find all versions of the php package lenorix/fluentizy-laravel-tools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lenorix/fluentizy-laravel-tools
More information about lenorix/fluentizy-laravel-tools
Files in lenorix/fluentizy-laravel-tools
Package fluentizy-laravel-tools
Short Description Extract all translation strings from your codebase and manage your language files effortlessly
License Unlicense
Homepage https://github.com/lenorix/fluentizy-laravel-tools
Informations about the package fluentizy-laravel-tools
fluentizy-laravel-tools
Extract all translation strings from your codebase and manage your language files effortlessly.
The i18n & l10n will be easier than ever with this package!
๐ Support us
Help us continue developing and maintaining this package by sponsoring us.
Also, using fluentizy is a great way to support the project!
๐ Features
- Scan chosen directories for translation strings.
- Supports both JSON and PHP translation files.
- Supports
__(),trans(), and@lang()functions. - Update language files automatically without overwriting existing translations.
- Artisan command for easy integration into your workflow.
- Tests running with PHP 8.0-8.5 and Laravel 9.x-12.x to ensure compatibility.
๐ฆ Installation
You can install the package via composer:
That's all! This is enough to get started using lang:extract command.
You can publish the config file with:
You can publish the translation files with:
๐ Usage
To extract translations from your codebase, run:
This command will update your translation file based on __('...') usages in your code.
If there are lang/*.json or lang/*/*.php files, to update all these files, run:
Behavior:
- Strings that are already translated will not be modified.
- If a string is missing in the translation file, it will be added with an empty value.
- If a string exists in the translation file but is not found in the codebase, it will be removed.
๐งช Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- All Contributors
License
The Unlicense License. Please see License File for more information.
All versions of fluentizy-laravel-tools with dependencies
spatie/laravel-package-tools Version ^1.92
illuminate/contracts Version ^10.0||^11.0||^12.0