Skip to main content
Version: Legacy

JSON Fallback

Updating Dependencies​

You should update the following dependency in your application's composer.json file:

  • "laravel-lang/json-fallback-hotfix": "^1.0" with "laravel-lang/json-fallback": "^2.0"

Next, run the update dependency console command:

composer update

Change namespace​

You need to change the namespace in the config/app.php file:

LaravelLang\JsonFallbackHotfix\TranslationServiceProvider

with

LaravelLang\JsonFallback\TranslationServiceProvider