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

Laravel Translatable Db Laravel Package

flobbos/laravel-translatable-db

Store model translations in a dedicated database table with Laravel. flobbos/laravel-translatable-db adds a simple translatable trait, helpers, and query support so you can persist and retrieve localized fields cleanly without JSON columns.

View on GitHub
Deep Wiki
Context7
2.0.0

Breaking changes

  • Dropped Laravel < 10 support.
  • Changed middleware_default to false by default.
  • Changed to_array_always_loads_translations to false by default.
  • Removed the unused polymorphic config option.

Added

  • Explicit Laravel 10, 11, 12 and 13 dependency constraints.
  • PHPUnit/Orchestra Testbench coverage.
  • GitHub Actions matrix for Laravel 10-13.

Fixed

  • Custom locale_key handling in models and middleware.
  • Missing language handling in middleware.
  • Fallback checks for locale-suffixed attributes.
  • Relation foreign key detection for non-id primary keys.
1.4.7
  • added option to handle a polymorphic translations table
  • updated readme
1.4.6
1.4.5

Fixed a bug where fallback translations weren't being loaded.

1.4.4
  • added auto discover
  • fixed fallback bug
  • updated readme
1.4.3

Added a middleware to get the language identifier

1.4.2

problem with fallback attributes fixed

1.4.1

JSON/Array output now has fallback attributes

1.4.0
  • Fixed major issue with direct attribute access
1.3.6

Fixed support for Laravel 5.4

1.3.5
  • Added support for dynamic locale column in language table
1.3.4
  • fixed an issue where the default locale was ignored in non-native-mode.
1.3.3
  • update minimum requirements to work with Laravel < 5.4
1.3.2

Now you're able to switch to native_mode in the config to decide where your default translation should come from.

1.3.1

Fixed yet another typo when accessing the config

1.3

Fixed a typo

1.2

Fixed a configuration issue

1.1

Fixed a namespace issue

1

Newest final version

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.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
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
christhompsontldr/laravel-inky
spatie/mailcoach-vapor