webmil/text-language-detect
A Laravel package for detecting the language of a given text. It offers a simple facade and helper that return language codes for strings, making it easy to add language identification for localization, content routing, filtering, or analytics in any Laravel application.
LanguageDetector contract so detection can be swapped, stubbed, or upgraded without touching product code. Suitable for non-critical features such as content tagging, routing hints, analytics enrichment, moderation triage, and localized fallback messaging. Not suitable as the sole decision mechanism for compliance, legal localization, or high-stakes user-facing language selection.LanguageDetector::detect(string $text): LanguageResult and adapt the package behind it. Keep language-code normalization, confidence thresholds, fallback behavior, and caching in our code.How can I help you explore Laravel packages today?