Publisher
Updating Dependencies
note
If you are using the laravel-lang/common package, skip this step.
You should update the following dependency in your application's composer.json file:
laravel-lang/publisherto^16.0
Next, run the update dependency console command:
composer update
Change locale namespace
Replace the locales namespace:
LaravelLang\Locales\Enums\Locale
with
LaravelLang\LocaleList\Locale
For example:
// Before
LaravelLang\Locales\Enums\Locale::Afrikaans; // af
// After
LaravelLang\LocaleList\Locale::Afrikaans; // af