Language Detection Versions Save

A language detection library for PHP. Detects the language from a given text string.

v5.3.0

8 months ago
  • Small performance improvement when used on large data sets (thanks to @Toflar)
  • Added Malayalam language file (thanks to @JoyceBabu)

v5.2.0

2 years ago
  • Removed deprecation notices when using PHP 8.1 (#49)
  • Removed support for PHP 7.3 because it's no longer supported

v5.1.0

3 years ago
  • Added occitan language file (thanks to @Mejans)

v5.0.0

3 years ago

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.

Added

  • Support for PHP 8
  • Swahili and Oromo language files (thanks to @matthewnessworthy)

Removed

  • PHP 7.2 support as it is no longer supported

v4.0.1

3 years ago
  • Fixed Unsupported operand types for custom directory (thanks to @iquito)

v4.0.0

3 years ago
  • Optimized performance by using PHP instead of JSON as a database file (thanks to @Pierstoval)

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.

v3.4.2

4 years ago
  • Updated to PHPUnit 8

v3.4.1

4 years ago
  • Optimized performance by using fully-qualified function calls
  • Updated to PHP 7.2
  • Removed echo from Trainer class

v3.4.0

5 years ago

Changed danish language code from dk to da.

v3.3.0

5 years ago
  • Added serbian cyrylic and serbian latin
  • The method __toString returns always a string