title: Detect Language Text in PHP without huge dependences or third-party services
body: <p>Looking for a composer package, which without a huge dependency (without knowledge bases more than 3MB) and third-party services will be able to determine the language of the text.</p>
  
  <p>The text is very often consists of several words.</p>
  
  <p>For example, I'd like to see this package with a high accuracy identified the languages of the following fragments:</p>
  
  <ol>
  <li><blockquote>
    <p>text on english</p>
  </blockquote></li>
  <li><blockquote>
    <p>Текст на русском</p>
  </blockquote></li>
  <li><blockquote>
    <p>Текст на русском и some words on english</p>
  </blockquote></li>
  <li><blockquote>
    <p>結城友奈は勇者である -鷲尾須美の章- 第2章 「たましい」</p>
  </blockquote></li>
  <li><blockquote>
    <p>விவேகம்</p>
  </blockquote></li>
  <li><blockquote>
    <p>El aeropuerto se considera</p>
  </blockquote></li>
  <li><blockquote>
    <p>Wunderbar steht er da im Silberhaar.</p>
  </blockquote></li>
  <li><blockquote>
    <p>Ein weiß glänzendes</p>
  </blockquote></li>
  <li><blockquote>
    <p>si les faits n’obéissent pas</p>
  </blockquote></li>
  <li><blockquote>
    <p>4 8 15 16 23 42</p>
  </blockquote></li>
  </ol>
  
  <p>Mainly interested in the qualitative determination for the following languages: <strong>English</strong>, <strong>Russian</strong>, <strong>German</strong>, Spanish, Dutch, Italian, <strong>French</strong>, <strong>Chinese</strong>, <strong>Japanese</strong>, Norwegian, Danish, <strong>Indian</strong>.</p>
  
  <p>A big plus would be if this package is not outdated or abandoned.</p>
  
  <p>PS: It is important that they do not take much memory when running.</p>