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
I18N Bundle

I18N Bundle Laravel Package

pugx/i18n-bundle

PUGX I18nBundle brings database-backed translations to Symfony: store messages in Doctrine entities, edit them via your admin, and let a translator service fall back to standard YAML/XLIFF files. Includes import/export commands and caching for fast lookups.

View on GitHub
Deep Wiki
Context7

The I18nBundle for Symfony and Doctrine by PUG Roma http://roma.grusp.org/

Frequently asked questions about I18N Bundle
What is pugx/i18n-bundle used for?
PUGX I18nBundle is a Symfony bundle for database-backed translations. It stores messages in Doctrine entities, lets you edit them through your admin, and uses a translator service that falls back to standard YAML or XLIFF files. It also includes import/export commands and caching for fast lookups. It is not a Laravel localization package.
Can I use pugx/i18n-bundle in a Laravel application?
Not natively. The package is a Symfony bundle tied to Symfony's bundle, container, and event architecture, and it has no Laravel service provider, facade, middleware, validation integration, or Eloquent translation loader. Using it in Laravel would require custom integration glue or extracting limited i18n behavior into Laravel-native services. Its archived status makes that effort especially risky.
Does pugx/i18n-bundle support Laravel 10 or Laravel 11?
There is no documented Laravel support. The package is Symfony-oriented and archived, with no indication that it has been validated against current PHP, Symfony, or Laravel versions. Any Laravel compatibility would be incidental at best. Do not assume it will work with Laravel 10 or Laravel 11 without a time-boxed prototype and tests.
How do I install pugx/i18n-bundle?
For a compatible Symfony application, it is installed as a Symfony bundle via Composer and registered in the Symfony application, with Doctrine configuration for its entity-backed translation storage. The package does not ship a Laravel service provider or Laravel installation path. For Laravel, a direct Composer install is not recommended unless you isolate and test any custom integration.
How does database-backed translation work in this bundle?
Translation messages are stored in Doctrine entities and can be edited through your admin interface. A translator service reads those database-backed messages and falls back to standard YAML or XLIFF files where needed. The bundle includes import/export commands and caching for fast lookups. In Laravel, you would need equivalent Eloquent models, a translation loader, and cache handling.
Is pugx/i18n-bundle actively maintained?
No. The repository is archived, has 14 stars, zero dependents, and no indication of active maintenance. There is no active maintainer support expectation, so your team would rely on source code review and internal patching. For a cross-cutting concern like i18n, that is a high ownership burden.
What are alternatives to pugx/i18n-bundle for database-backed translations in Laravel?
Start with Laravel's native localization and determine whether a custom database translation loader, Eloquent model, and cache layer are sufficient. If you need a package, evaluate maintained Laravel-first alternatives that document Laravel version support, testing, and production behavior. Do not adopt an archived Symfony bundle as a drop-in Laravel dependency.
What production risks should I consider before adopting pugx/i18n-bundle?
The main risks are its archived status, security and compatibility exposure, and lack of support. You may also encounter dependency conflicts, locale resolution errors, fallback mistakes, cache invalidation issues, translation key mismatches, and unpatched compatibility breaks. In Laravel, those failures could surface as untranslated validation messages or inconsistent user-facing locale behavior.
Can I test pugx/i18n-bundle with Laravel, PHPUnit, or Pest?
There is no built-in Laravel testing integration. Any Laravel prototype would need custom integration tests around locale negotiation, fallback behavior, caching, and validation messages. The bundle's own conventions target Symfony's container and Doctrine, not Laravel's translation pipeline. Keep any evaluation time-boxed and isolated behind an internal interface.
Should I extract logic from pugx/i18n-bundle instead of installing it?
If you only need specific i18n concepts, extracting and reimplementing a minimal subset as Laravel-native services is usually safer than integrating the archived Symfony bundle. Review the bundle for design ideas, then cover your implementation with application tests. A direct Composer install should be considered only for a Symfony application already compatible with the bundle's constraints.
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.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console