Weave 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
Laravel Language Detector

Laravel Language Detector Laravel Package

swayok/laravel-language-detector

A Laravel package for detecting the language of incoming requests or text and setting the application locale accordingly. Integrates with middleware and locale negotiation to simplify building multilingual applications.

Deep Wiki
Context7

swayok/laravel-language-detector is a lightweight Laravel package for detecting a visitor's preferred language and using it to drive application localization. It inspects incoming requests and resolves the best-matching locale, making it easy to serve multilingual content without custom detection logic.

  • Automatic detection from browser headers and request data
  • Configurable locales with fallback for unsupported languages
  • Middleware integration for per-request locale switching
  • Laravel-native configuration and service container binding

Ideal for multilingual sites that need simple, reliable language negotiation.

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.
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core