Laravel Lang Help

To 5 from 4

Updating dependencies

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

  • laravel-lang/common to ^5.0

Run the update dependency console command:

composer update

Upgrade publisher

Complete all upgrade steps except updating dependencies from the publisher's upgrade guide.

Using in production

If you use access to facades and locales in production, then you also need to perform the following steps:

composer require laravel-lang/common --dev --quiet composer require laravel-lang/locales

If you do not use locales in production, then just move laravel-lang/common to the require-dev section and run the composer update command, or simply run the following console command:

composer require laravel-lang/common --dev --quiet
Last modified: 16 February 2024