Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Language Detection Laravel Package

patrickschur/language-detection

Detect the language of any text in Laravel/PHP with fast, lightweight language identification. Supports multiple languages, simple API, and easy framework integration—ideal for auto-tagging content, localization workflows, and routing based on user input.

View on GitHub
Deep Wiki
Context7
5.0.0

Added

Removed

  • PHP 7.2 support as it is no longer supported
4.0.1

Changed

  • Fixed Unsupported operand types for custom directory (thanks to @iquito)
4.0.0

Changed

  • Converted all resource files to PHP for performance reasons (thanks to @Pierstoval)
3.4.2

Changed

  • Removed a build failure by using a newer version of PHPUnit
3.4.1

Changed

  • Optimized performance by using fully-qualified function calls, thanks to draco2003
  • PHP 7.2 or higher is now used for testing
  • Removed output, see issue #22
3.4.0

Changed

  • Danish language code, thanks to bbalet
3.3.0

Added

  • Serbian cyrylic and serbian latin language files

Changed

  • The method __toString returns always a string
3.2.0

Added

  • Experimental support for custom directories. You can now specify your own path for translation files.
  • Credits

Changed

  • Corrections to Amharic (am) translation
  • Corrections to Czech (cs) translation
  • Corrections to Lao (lo) translation
3.1.1

Changed

  • Return empty object if no result was found
3.1.0

Added

  • Support for the languages Lingala, Sanskrit, Tonga and Urdu
3.0.0

Added

  • CHANGELOG.md
  • CONTRIBUTING.md
  • Tokenizer interface

Changed

  • Folder structure (renamed etc to resources)
  • Renamed all language files (added .txt extension)
  • Improved performance
  • Updated to PHPUnit 6
  • README.md, thanks to stof

Removed

  • Autoloader script
  • Language model _langs.json
2.1.1

Added

  • Autloader script

Changed

  • Fixed typos for Lithuanian language sample, thanks to tomasliubinas
  • Fixed wrong ISO 639-1 codes
  • Updated _langs.json

Removed

  • php-nightly in .travis.yml
2.1.0

Added

  • New best results method
  • Some PHPUnit tests

Changed

  • Fixed a bug that could produce slightly worse results.
  • README.md
  • LICENSE.md
2.0.0

Added

  • ta language file
  • IteratorAggregate interface

Changed

  • Updated _langs.json
  • README.md
1.2.0

Added

  • ay language file
  • bi language file
  • bo language file
  • br language file
  • bs-Cyrl language file
  • bs-Latn language file
  • ca language file
  • ch language file
  • dz language file
  • fy language file
  • gu language file
  • id language file
  • jv language file
  • km language file
  • kr language file
  • ms-Latn language file
  • ng language file
  • pt-BR language file
  • sq language file
  • ss language file

Changed

  • Changed folder structure
  • ms-Arab renamed from ms
  • pt-PT renamed from pt
  • README.md
  • Updated _langs.json
1.1.0

Added

  • tl language file
  • tt language file
  • ve language file
  • wa language file
  • wo language file
  • xh language file
  • yo language file
  • ug-Latn language file

Changed

  • _langs.json
  • ug-Arab renamed from ug
  • README.md
1.0.0
  • First Release
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
phalcon/cli-options-parser
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi