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
Translationbundle

Translationbundle Laravel Package

object.bg/translationbundle

Symfony bundle for managing translations with a database-backed storage and an admin interface, so locale strings can be edited at runtime instead of only in files.

View on GitHub
Deep Wiki
Context7

This Symfony bundle allows you to import translations inside database (with ORM) and translate objects (Entities).

Frequently asked questions about Translationbundle
Is object.bg/translationbundle a Laravel package?
No. It is a Symfony bundle published as Warxcell/TranslationsBundle, and the Bundle suffix, object.bg vendor namespace, and Symfony background point to a Symfony kernel and DependencyInjection extension. Laravel uses service providers, config publishing, and Eloquent, so this package will not plug and play in a Laravel application. Treat it as Symfony-only unless you are prepared to rewrite the integration.
Can I install this translation bundle in Laravel 10 or 11?
Almost certainly not cleanly. Laravel 10 and 11 pull Symfony components at ^6 or ^7, while this bundle likely pins older Symfony 4 or 5 constraints and Doctrine ORM. That combination usually produces Composer dependency conflicts before you write any application code. Do not add it as a project dependency without a short read-only spike first.
Does object.bg/translationbundle require Doctrine ORM?
The package description says it imports translations into the database with ORM and translates entities, and the technical assessment expects Doctrine entities for persistence. There is no evidence of an Eloquent model or abstraction layer for other persistence backends. Assume Doctrine is a hard dependency until its composer.json and entity mappings prove otherwise.
How should I store and edit translations in the database in Laravel?
Use a Laravel-native design: one migration for a key, locale, and value table, one Eloquent model, and a custom translation loader or Translator decorator. Add a cached repository with tag-based or key-based invalidation, and seed it from your existing lang files so there is one source of truth. Maintained Laravel DB translation loader packages such as spatie/laravel-translation-loader are also worth evaluating before writing your own.
Is the bundle maintained and compatible with PHP 8.2 or 8.3?
The last release was 2021-03-15, with one star, zero dependents, and a very low score. There is no published compatibility matrix for PHP 8.2 or 8.3, and no evidence of Symfony 6 or 7 support. Assume it is incompatible with a modern Laravel stack and unpatched for current PHP versions.
What does the bundle actually store, and does it handle fallback locales?
It stores translation strings in a database via ORM and resolves translations for entities or objects. Fallback behaviour, pluralisation handling, and caching layers are not confirmed in the provided context and must be verified in the source. Inspect the schema and resolution logic before deciding whether the data model is worth copying.
Does it include an admin interface for editing translations?
The blurb claims a database-backed store with an admin interface so locale strings can be edited at runtime. The technical assessment explicitly asks whether a CRUD surface exists or only read-path resolution, and the README excerpt is empty. Verify routes, controllers, and templates in the repository rather than assuming an admin UI ships with it.
How would I migrate from this Symfony bundle to Laravel?
Timebox a read-only spike of half a day or less, and do not install the bundle as a dependency. Extract the table shape, fallback semantics, caching behaviour, and pluralisation rules, then reimplement them as a first-party Laravel module with a migration, an Eloquent model, a loader or Translator decorator, and a cached repository. Seed from existing lang files so behaviour stays consistent on day one.
What are the best Laravel alternatives for database-backed translations?
Laravel already supports lang files natively, and you can add a database loader or a custom Eloquent-backed resolver on top. Packages such as spatie/laravel-translation-loader provide a maintained DB translation loader pattern for Laravel. A small first-party key-locale-value model is often enough, and it avoids dragging Doctrine into an Eloquent codebase.
Is it safe for production, and what licence does it use?
Technical risk is high: bus factor of one, one star, zero dependents, and no releases since 2021 mean no downstream validation and no security patching. The licence is not confirmed in the provided context, so check composer.json in the repository before any use. For a production Laravel application, reimplement the small data model or choose a maintained Laravel-native alternative.
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.
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core