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 Eloquent I18N

Laravel Eloquent I18N Laravel Package

liaosankai/laravel-eloquent-i18n

Adds per-locale translations to Eloquent models, letting you store and retrieve attribute values in multiple languages through a simple trait with locale-aware accessors, fallbacks, and clean integration into multilingual Laravel applications.

View on GitHub
Deep Wiki
Context7

liaosankai/laravel-eloquent-i18n adds lightweight internationalization support directly to your Eloquent models. Instead of juggling separate translation tables or duplicating columns, you can store multilingual values alongside your existing attributes and retrieve the right one based on the active locale—keeping queries and model code clean.

The package is designed to stay out of your way: transparent fallbacks when a translation is missing, familiar Eloquent syntax, and no changes required to your existing workflows.

  • Store translations for multiple locales in a single attribute
  • Automatic locale resolution with configurable fallback
  • Works with existing Eloquent accessors and query builder
  • Minimal setup—just add a trait to your model
  • Compatible with Laravel's localization config
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.
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log