- Determine the current version (
composer info ...
) - Choose the wanted version
- Follow the instructions
- ??????
- PROFIT
For example, if the current version is 2.x
and you want to migrate to 5.x
, you need to perform all steps in the following order:
- "Upgrade from v2"
- "Upgrade from v3"
- "Upgrade from v4"
Please also see changelog to find all changes.
🤝 | Backward-compatible change. Please note that despite you can ignore it now, but it will be mandatory in the future. |
---|
- Laravel v10 is not supported anymore. Migrate to the newer version.
This version is the deep refactoring of the Formatter
class to make it simple and allow adding new formats easily. All built-in formats are now instances of Format
interface. Also, the config now is the Config
instance instead of an array, and locale-specific settings were moved into format itself. Please check the updated documentation for more details.
-
PHP 8.1 is not supported anymore. Migrate to the newer version.
-
Direct usages of
Container::getInstances()
were replaced by explicit constructor parameters. You may need to update your code accordingly (#151).
-
Array-based config is not supported anymore. Please migrate to object-based config.
-
Use
PackageProvider
instead of💀Provider
.
- Laravel v9 is not supported anymore. Migrate to the newer version.
- If you are passing
\IntlDateFormatter::*
constants as$format
argument forFormatter::time()
/Formatter::date()
/Formatter::datetime()
, add a new custom format(s) which will refer to\IntlDateFormatter::*
constant(s).