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

Phrase Tag Bundle Laravel Package

wickedone/phrase-tag-bundle

A Symfony bundle for tag-aware translations: embed HTML or custom tags inside translatable phrases so markup stays out of your translation files. Keeps multi-language templates clean, safe, and easy to maintain.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Localization tooling standardization: Whether to standardize translation management on Phrase and wire tag/key extraction into the build pipeline, versus managing translation keys manually or via a homegrown script.
  • Build vs. buy for translation key governance: This package automates extraction and validation of Phrase tags/keys against source code — a capability that is cheap to buy but non-trivial to maintain in-house (parsing, edge cases, drift detection).
  • Runtime upgrade roadmap: Release 4.0.0 drops PHP 8.3 support. This is a forcing function that ties the localization tooling roadmap to the platform's PHP 8.4 upgrade timeline — a PM-visible dependency, not just an engineering detail.
  • CI/CD investment: Adopting the package implies adding a validation step to CI to catch missing/unused translation keys before release, which affects release-gate policy and definition-of-done for feature work.
  • Vendor concentration risk: Reinforces a single-vendor (Phrase) dependency for localization; worth weighing against multi-vendor or export-friendly strategies.
  • Scope caveat: This is a development/build-time tool, not a runtime translation delivery mechanism. It does not replace a translation loader, caching layer, or CDN strategy — those remain separate roadmap items.

When to Consider This Package

Consider adoption when:

  • The application already uses (or has committed to) Phrase as its TMS, so the tag/key model matches the vendor's data structure.
  • The codebase is Symfony-based, or the team is willing to absorb the integration cost of adapting a Symfony bundle into a non-Symfony PHP application (the package is published as a bundle, which is a meaningful signal about its intended host framework).
  • The PHP runtime floor is already at 8.4, or an 8.4 upgrade is planned and funded within the current planning horizon.
  • Translation key drift is a recurring, measurable defect source (missing keys in production, orphaned keys, stale copy) that justifies automation.
  • The work is scoped as a dev-only dependency (require-dev), keeping production runtime surface and security exposure minimal.

Look elsewhere when:

  • The stack is Laravel-first. There is no first-class Laravel service provider here; you inherit Symfony bundle conventions, and the integration effort should be re-estimated as custom glue work rather than "install and go."
  • The team is pinned to PHP 8.3 or earlier with no near-term upgrade path. Version 4.x is effectively unavailable, and pinning to 3.2.0 means carrying an unsupported branch.
  • The need is runtime translation serving, per-request locale switching, or caching — this package does not address those problems.
  • The project is small enough that manual key management is cheaper than the integration and CI work.
  • You require broad framework-agnostic portability or a vendor-neutral extraction tool.

On the 4.0.0 BC break specifically: treat this as a scheduling decision, not a feature decision. The functional surface is unchanged; the constraint is environmental. Confirm the new minimum PHP version against composer.json before committing, then align the package bump with the platform upgrade rather than sequencing it independently.

How to Pitch It (Stakeholders)

For executives (one paragraph): This is a small, low-cost developer tool that keeps our translation keys in sync with our Phrase translation platform, reducing the class of bugs where customers see missing or stale copy in shipped features. The new 4.0.0 release contains no new product capability — it only raises the required PHP version, dropping 8.3 support. The business impact is therefore a timing dependency on our PHP 8.4 upgrade, not a change in what the tool does. Recommendation: adopt or upgrade only if Phrase is already our translation platform and PHP 8.4 is on the near-term roadmap; otherwise defer, since this delivers no customer-facing feature on its own.

For engineering leads: Ship-blocking change is the PHP floor bump in 4.0.0 — verify the exact constraint in composer.json, then update the CI matrix and developer environments before merging the bump. The package is a dev-only dependency, so production runtime and security posture are unaffected. Two risks to size honestly: (1) it is distributed as a Symfony bundle, so if our application is Laravel-based the integration is custom glue, not a drop-in; and (2) remaining on 3.2.0 means an unmaintained branch, so the upgrade should be scheduled, not indefinite. Estimate the work as CI-plus-environment plus integration spike, not as a feature.

Bottom line: Low strategic weight, low operational risk, one hard environmental dependency. Decide it inside the PHP 8.4 upgrade plan; do not treat it as a standalone initiative.

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.
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
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