A fast and reliable PHP library for detecting languages
MIT License
Published by landrok over 3 years ago
Published by landrok about 4 years ago
$detector = new LanguageDetector(null, ['de', 'en', 'es', 'fr'])
;echo LanguageDetector::detect($text, ['de', 'en', 'es', 'fr']);
Published by landrok almost 6 years ago
echo $detector;
prints ISO codeecho LanguageDetector::detect($text);
Published by landrok almost 6 years ago
Published by landrok almost 8 years ago
Published by landrok almost 8 years ago
Published by landrok almost 8 years ago