patrickschur/language-detection

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

44
/ 100
Emerging

This tool helps you automatically identify the language of any text. You simply provide a piece of text, and it tells you which language it is written in, along with a confidence score. This is useful for anyone managing content, customer support, or data in multiple languages.

847 stars. No commits in the last 6 months.

Use this if you need to determine the language of text snippets, messages, or documents to route them correctly, categorize them, or process them further.

Not ideal if you need to detect very short phrases or single words, as accuracy improves with longer texts.

content-management multilingual-support data-categorization customer-service localization
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 18 / 25

How are scores calculated?

Stars

847

Forks

85

Language

PHP

License

MIT

Last pushed

Mar 25, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/nlp/patrickschur/language-detection"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.