Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/filipponik/laravel-translate-analyzer
Translate analyzer for Laravel
https://github.com/filipponik/laravel-translate-analyzer
analyze analyzer command-line composer laravel package php translate translation
Last synced: 25 days ago
JSON representation
Translate analyzer for Laravel
- Host: GitHub
- URL: https://github.com/filipponik/laravel-translate-analyzer
- Owner: Filipponik
- Created: 2023-05-25T14:42:03.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-05-29T09:00:59.000Z (over 1 year ago)
- Last Synced: 2024-10-12T22:42:11.142Z (25 days ago)
- Topics: analyze, analyzer, command-line, composer, laravel, package, php, translate, translation
- Language: PHP
- Homepage: https://packagist.org/packages/filipponik/laravel-translate-analyzer
- Size: 5.86 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Translate analyzer for Laravel
## Installing
Install package
```shell
composer require filipponik/laravel-translate-analyzer --dev
```Add service provider to your `config/app.php` file:
```php
...
'providers' => [
...
\Filipponik\LaravelTranslateAnalyzer\Providers\TranslateServiceProvider::class,
],
...
```## Usage
If you want to get duplicated values in your lang files, use command below:
```shell
php artisan translate:check-duplicates
```If you want to analyze your code and fill lang files, use command below:
```shell
php artisan translate:fill-files
```