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

Api Platform Translation Bundle Laravel Package

tunet/api-platform-translation-bundle

A Symfony bundle that adds multilingual translation support to API Platform resources, helping you expose localized field values through REST and GraphQL APIs with Doctrine integration and configurable fallbacks.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Localization roadmap for API-first products. This bundle targets field-level translation of API Platform resources using the Sylius translation pattern (a separate *Translation entity per translatable resource). If your roadmap includes multi-language content APIs — catalogs, CMS-style resources, regional product data — this is directly relevant plumbing.
  • Build vs. buy (or build vs. borrow). The decision it informs is whether to hand-roll translation entities, Doctrine mappings, serialization groups, and locale-aware read/write endpoints, or adopt an existing convention. This package is a candidate for the "borrow" side of that trade-off.
  • API contract and data-model decisions. Adopting the Sylius translation pattern is an architectural commitment: translatable fields move to a child entity, which changes your schema, your payload shapes, and your query/filter semantics. That is a decision worth making once, early, and consistently.
  • Feature scoping for translation workflows. It shapes how you scope fallback locale behavior, partial-translation handling, write paths (which locale am I writing?), and admin/editorial flows for managing translations.
  • Make/buy risk framing. With zero stars and zero dependents, the real product decision this supports is not "should we use it" but "how much of our i18n layer are we willing to own if we adopt it."

When to Consider This Package

Consider it when all of the following hold:

  • You are on Symfony + API Platform, not Laravel. Despite the framing, this is a Symfony bundle built on API Platform and Sylius conventions — it is not usable in a Laravel application. If your stack is Laravel, stop here.
  • You specifically want the Sylius translation entity pattern rather than a JSON-column or Doctrine-extensions approach.
  • You have engineering capacity to read, audit, and potentially fork the code — no stars, no dependents, and a zero health score mean there is effectively no community, no issue history to learn from, and no maintenance guarantee.
  • You need only a thin translation layer and are comfortable with its scope being narrower than a mature i18n solution.

Look elsewhere when:

  • Stack mismatch: Laravel teams should evaluate spatie/laravel-translatable or astrotomic/laravel-translatable.
  • You need community support, security review history, or an SLA. A package with no adoption signals cannot provide any of these; treat it as third-party code you are effectively adopting.
  • API Platform's own translation/i18n capabilities or Doctrine Translatable extensions already cover your needs — fewer bespoke dependencies is better.
  • Your localization requirements are non-trivial (per-locale fallback chains, translation versioning, editorial workflow, locale-aware search). A thin bundle will become a fork.

Practical recommendation: time-box a spike, review the code and license, confirm it works against your API Platform version, and have a fork-and-own plan before it reaches a production path.

How to Pitch It (Stakeholders)

Executive summary: We identified a small open-source bundle that adds multilingual field support to our API layer, following the same translation pattern used by Sylius. It could save us from building translation plumbing ourselves, but it shows no adoption — no stars, no dependents, no community — so it should be treated as a candidate component, not a vetted dependency. Recommendation: fund a short, time-boxed technical evaluation (roughly a few engineering days) rather than committing to it.

For engineering: It aligns with Sylius-style translation entities and API Platform's resource model, which reduces custom code if we standardize on that pattern. The trade-off is that we would own it: no upstream community, no issue history, unknown version compatibility, and a fork is likely. Review the license, pin a version, and confirm it works with our API Platform release before we design around it.

The ask: A small evaluation budget and a decision gate — adopt as a fork we own, or fall back to a mature alternative (API Platform's built-in i18n or Doctrine Translatable extensions). Either way, we avoid discovering the answer mid-implementation.

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