PHPackages                             karlvalentin/laravel-i18n-check - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. karlvalentin/laravel-i18n-check

ActiveLibrary[Localization &amp; i18n](/categories/localization)

karlvalentin/laravel-i18n-check
===============================

Artisan command for checking language resources.

v2.0.0(1y ago)01.4kMITPHPPHP ^7.4.0|^8.0|^8.1

Since Jan 24Pushed 1y ago1 watchersCompare

[ Source](https://github.com/karlvalentin/laravel-i18n-check)[ Packagist](https://packagist.org/packages/karlvalentin/laravel-i18n-check)[ RSS](/packages/karlvalentin-laravel-i18n-check/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (5)Dependencies (3)Versions (7)Used By (0)

Laravel I18N Check
==================

[](#laravel-i18n-check)

This package provides the artisan command `i18n:check`.

It checks that all translations are available in every language.

Installation
------------

[](#installation)

This package can be installed by using composer:

```
composer require karlvalentin/laravel-i18n-check

```

### Optional: Configuration

[](#optional-configuration)

#### Publish Configuration

[](#publish-configuration)

For changing the configuration it needs to be published:

```
artisan vendor:publish --provider="KarlValentin\LaravelI18nCheck\I18nCheckServiceProvider" --tag="config"

```

The configuration for this package can now be found in `/config/i18ncheck.php`.

#### Options

[](#options)

##### `array` skipDirectories

[](#array-skipdirectories)

The option `skipDirectories` is an array of directories that should not be parsed.

Default definition:

```
'skipDirectories' => [
    'vendor',
],

```

Usage
-----

[](#usage)

### Run Artisan Command

[](#run-artisan-command)

To check your language resources please run

```
artisan i18n:check

```

### Run `i18n:check` in a Test

[](#run-i18ncheck-in-a-test)

You may want to run the artisan command in a test.

```
