A language detection library for PHP. Detects the language from a given text string.
This release will add support for PHP 8 and removes the support for PHP 7.2 (because it's end of life). Users of PHP 7.2 should upgrade as soon as possible, as they may be exposed to unpatched security vulnerabilities.
You can upgrade from version 4.y.z
to 5.y.z
without any problems if you are already using PHP 7.3 or higher.
Note: The format of the resource files changed. You have to upgrade your JSON files to PHP. Please take a look at the upgrade guide for more information.
Changed danish language code from dk
to da
.
__toString
returns always a string