diff --git a/README.md b/README.md index e21bec5..8d814aa 100644 --- a/README.md +++ b/README.md @@ -36,12 +36,14 @@ Translating Laravel languages files using a Google Spreadsheet. $ composer require nikaia/translation-sheet ``` -- Add service provider to your 'config/app.php' +- If Laravel version <= 5.4, Add service provider to your 'config/app.php'. For version >= 5.5, package will be auto-discoverd by Laravel. ```php Nikaia\TranslationSheet\TranslationSheetServiceProvider::class, ``` + + - Configuration can be done via environments variables, but if you prefer you can override the configuration by publishing the package config file using : ```bash diff --git a/composer.json b/composer.json index 5481afe..54a5f41 100644 --- a/composer.json +++ b/composer.json @@ -38,5 +38,12 @@ "sort-packages": true }, "minimum-stability": "dev", + "extra": { + "laravel": { + "providers": [ + "Nikaia\\TranslationSheet\\TranslationSheetServiceProvider" + ] + } + }, "prefer-stable": true }