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 Polyglot Model Laravel Package

barisdemirhan/laravel-polyglot-model

A Laravel package that adds multilingual support to Eloquent models, letting you store translations for model attributes and retrieve them automatically based on the current application locale.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature: adding multilingual/polyglot attributes to Laravel Eloquent models, reducing custom translation-table work for localized content.
  • Roadmap: Laravel 13 readiness keeps the package aligned with upcoming Laravel upgrades while preserving Laravel 10–12 support.
  • Build vs buy: a small, maintained dependency can replace an internal translation trait/package, with no migration or configuration changes in this release.
  • Use cases: multi-language SaaS content, e-commerce product/category descriptions, CMS or marketing pages, and user-generated content requiring per-locale values.

When to Consider This Package

  • You are on Laravel 10, 11, 12, or 13 and PHP 8.1+.
  • You need straightforward per-model translated attributes rather than a full translation management system.
  • You want a low-friction upgrade path: v1.1.0 has no breaking public API changes and requires no migration or config changes.
  • You value a verified compatibility matrix and CI coverage across PHP, Laravel, Testbench, and PHPUnit versions.
  • Look elsewhere if you need advanced localization workflows, external TMS integration, non-Laravel support, or complex fallback/versioning rules beyond the package’s scope.

How to Pitch It (Stakeholders)

  • Executives: low-risk, actively maintained package; v1.1.0 adds Laravel 13 support with no breaking changes, no migration, and no configuration changes.
  • Engineering: broad compatibility across PHP 8.1–8.5 and Laravel 10–13, expanded Testbench 8–11 and PHPUnit 10–12 coverage, with 11 CI checks passing.
  • Product: enables multilingual model content with less custom code and supports keeping the platform current on Laravel without delaying localization roadmap work.
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.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib