Skip to content

Installation

Rumen Damyanov edited this page Dec 4, 2026 · 1 revision

Installation

PHP 8.3 or newer, with the intl and mbstring extensions.

composer require rumenx/php-langid
use Rumenx\PhpLangid\LanguageDetector;

$detector = new LanguageDetector();

The public types are LanguageDetector, DetectorConfig, Detection, LanguageShare, BatchResult, FileDetection, IndexMode, ShareScale, and LangidException.

Back to Home.

Clone this wiki locally