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

Filament Language Switch Laravel Package

bezhansalleh/filament-language-switch

View on GitHub
Deep Wiki
Context7
5.0.0-beta.1

What's Changed

v5.0.0

Filament v5 support. The rendering internals have been rewritten — the plugin now classifies render hooks into contexts (topbar, sidebar, user-menu, outside-panel) and picks the matching trigger design automatically. Trigger styling, item display, display mode, and outside-panel placement are now controlled through dedicated enums instead of loosely typed strings and booleans. Most v4 configurations work unchanged.

Breaking changes

Renames

v4 v5
->flagsOnly() ->itemStyle(ItemStyle::FlagOnly)
Placement::TopLeft / TopRight Placement::TopStart / TopEnd
Placement::BottomLeft / BottomRight Placement::BottomStart / BottomEnd

Default changes

Setting v4 v5 Restore v4
maxHeight 'max-content' '18rem' ->maxHeight('max-content')
renderHook global-search.after always Context-aware ->renderHook(PanelsRenderHook::GLOBAL_SEARCH_AFTER)
outsidePanelsRenderHook body.start always Derived from placement + mode ->outsidePanelsRenderHook(PanelsRenderHook::BODY_START)

Everything else from v4 — visible(), locales(), flags(), labels(), renderHook(), outsidePanelPlacement(), excludes(), circular(), nativeLabel(), displayLocale(), userPreferredLocale() — keeps its v4 signature.

What's new

  • Trigger customizationTriggerStyle enum via ->trigger(style:, icon:). Auto-adapts to the render context.
  • Item styleItemStyle enum (FlagWithLabel, FlagOnly, AvatarWithLabel, AvatarOnly, LabelOnly) via ->itemStyle().
  • Modal display mode->displayMode(DisplayMode::Modal) with grid columns, slide-over, heading, icon, and width.
  • Outside panels rebuiltPlacementMode (Static, Pinned, Relative) with auto-derived render hooks and user-menu auto-docking.
  • Smart hook classification — trigger design adapts automatically per render hook context.
  • Dropdown placement->dropdownPlacement() to control dropdown direction.
  • Inline Blade component<x-language-switch::inline /> for embedding in custom views.
  • Developer Control Panel->controlPanel() for live configuration in local dev.

See the README for full usage and examples.

Full Changelog: https://github.com/bezhanSalleh/filament-language-switch/compare/4.3.0...5.0.0-beta.1

4.3.0

What's Changed

Full Changelog: https://github.com/bezhanSalleh/filament-language-switch/compare/4.2.0...4.3.0

4.0.0

What's Changed

  • Filament v4 support

Full Changelog: https://github.com/bezhanSalleh/filament-language-switch/compare/3.1.1...4.0.0

4.0.0-beta2

**what's changed

  • Updated Readme
  • Adds support for Filament 4.0
  • New branch 4.x @bezhanSalleh

Full Changelog: https://github.com/bezhanSalleh/filament-language-switch/compare/3.1.1...4.0.0-beta2

3.1.1

What's Changed

New Contributors

Full Changelog: https://github.com/bezhanSalleh/filament-language-switch/compare/3.1.0...3.1.1

3.0.0

What's Changed

  • Complete rewrite [3.x]
    • No Panel registeration required
    • Automatically boots after installation
    • Easily Configurable
    • Flags Support (no third-party packages required)
    • outside panels 'auth pages'
      • Display
      • Placement(position)
    • much more ...

for more checkout @bezhanSalleh in https://github.com/bezhanSalleh/filament-language-switch/pull/57

Full Changelog: https://github.com/bezhanSalleh/filament-language-switch/compare/2.0.1...3.0.0

2.0.1

What's Changed

New Contributors

Full Changelog: https://github.com/bezhanSalleh/filament-language-switch/compare/2.0.0...2.0.1

2.0.0

What's new in 2.0.0?

  • Filament v3.0.0 support

Full Changelog: https://github.com/bezhanSalleh/filament-language-switch/compare/1.0.8...2.0.0

1.0.8

What's Changed

New Contributors

Full Changelog: https://github.com/bezhanSalleh/filament-language-switch/compare/1.0.7...1.0.8

1.0.7

What's Changed

Full Changelog: https://github.com/bezhanSalleh/filament-language-switch/compare/1.0.6...1.0.7

1.0.4

What's Changed

New Contributors

Full Changelog: https://github.com/bezhanSalleh/filament-language-switch/compare/1.0.3...1.0.4

1.0.1

What's Changed

  • Language flag is now optional

Full Changelog: https://github.com/bezhanSalleh/filament-language-switch/compare/v1.0.0...1.0.1

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.
besmartand-pro/php-quality-config
sentix/ai-chatbot
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity