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

I18N Form Bundle Laravel Package

koff/i18n-form-bundle

A Symfony bundle that adds internationalization support to forms, helping developers build locale-aware fields and manage translated form data in multilingual applications. It simplifies rendering and handling inputs across locales while integrating with Symfony’s form component.

View on GitHub
Deep Wiki
Context7

Translate your doctrine objects easily with some helps

Frequently asked questions about I18N Form Bundle
Does koff/i18n-form-bundle work with Laravel?
No. It is a Symfony bundle built on Symfony Form types and Doctrine event listeners, with no Laravel service provider, config file or Eloquent integration. Making it run in Laravel would mean standing up Doctrine ORM, wiring the bundle's service definitions into the Laravel container and reconciling two different event models. For a Laravel application the equivalent capability is better served by Laravel-native translation and form tooling.
How do I install koff/i18n-form-bundle?
In a Symfony project you would add it with composer require koff/i18n-form-bundle, register it in config/bundles.php and enable the form integration in your configuration. The last tagged release was January 2018, so expect dependency conflicts against modern symfony/form, doctrine/orm and PHP 8.x before installation even completes. There is no Laravel installation path: no service provider, no publishable config and no Artisan commands.
What does koff/i18n-form-bundle actually do?
It extends Symfony's Form component so labels, placeholders, help texts, choice labels and form options resolve through Symfony's translator instead of hard-coded strings. Form definitions stay clean because the copy moves into translation files, and Twig rendering picks up the locale-aware values. The brief also describes translating Doctrine entities, which puts it on the write path for localized content rather than only in the view layer.
Which Symfony versions does koff/i18n-form-bundle support?
The last release is dated 2018-01-14, which places it in the Symfony 3.x era and predates Symfony 4.4 LTS end of life, PHP 8 type handling and Doctrine ORM 3. There is no declared support for Symfony 5, 6 or 7, and no known dependents to surface breakage. Treat any version claim as unverified until you run it in an isolated sandbox.
Can I use koff/i18n-form-bundle with Eloquent instead of Doctrine?
No. Its translation handling is built around Doctrine ORM entities and event listeners, while Laravel's default persistence layer is Eloquent. Swapping in Eloquent would mean rewriting the persistence half of the package yourself, which is more work than translating attributes directly in your models. If Doctrine is genuinely required in Laravel, pair laravel-doctrine/orm with a maintained translation extension instead.
What are the best Laravel alternatives for translatable forms and content?
For model content use spatie/laravel-translatable for a JSON-column approach or astrotomic/laravel-translatable for per-locale side tables that query and index better. For locale negotiation and routing use mcamara/laravel-localization or a small middleware around App::setLocale. For form labels, placeholders and validation messages, Laravel's lang files plus translatable arr.* wildcard rules cover the same ground without any bundle.
How do I configure translation domains and parameters in koff/i18n-form-bundle?
In Symfony the bundle exposes configurable translation domains and parameters so each label, placeholder or choice label can point at a specific domain and pass parameters through. Because the package is unmaintained, the authoritative reference is the bundle's own configuration tree in the repository rather than current documentation. If you need this behaviour today, implement it with Symfony's form theme and translator directly, or use a maintained form extension.
Is koff/i18n-form-bundle maintained and safe for production?
No. It has a single author, around seven stars, no known dependents and no release since January 2018, so there is no maintenance commitment and no security-response path. That matters because the logic sits on the write path for localized content: a silent listener failure or a locale fallback bug drops translated data instead of throwing. Unmaintained Composer packages are also a recurring supply-chain risk, so pinning or vendoring would be the bare minimum if you adopt it at all.
How do I test internationalized forms built with koff/i18n-form-bundle?
Isolate the bundle behind a thin service of your own so locale resolution and translation lookup can be asserted in unit tests without booting Symfony's form stack. Add integration tests that render each form in every supported locale and assert labels, placeholders and choice labels resolve as expected, including the fallback locale. Test the failure path too: a missing translation key should surface loudly rather than silently persisting an empty value.
How do I migrate away from koff/i18n-form-bundle?
First confirm whether anything in your codebase actually depends on the bundle, directly or transitively, since zero known dependents suggests removal is cheap. Replace field-level translation with your framework's native translation files and form theming, and replace persisted content translation with a maintained option such as Gedmo Translatable or a Laravel translatable package. Do it behind feature tests that compare rendered output per locale before and after, so fallback regressions show up immediately.
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.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo