PHPackages                             baklysystems/laravel-translatable-bootforms - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. baklysystems/laravel-translatable-bootforms

ActiveLibrary[Localization &amp; i18n](/categories/localization)

baklysystems/laravel-translatable-bootforms
===========================================

Empowers adamwathan/bootforms with dimsav/laravel-translatable.

1.5(5y ago)0871MITPHPPHP &gt;=5.5.9

Since Dec 3Pushed 5y ago1 watchersCompare

[ Source](https://github.com/baklysystems/Laravel-Translatable-Bootforms)[ Packagist](https://packagist.org/packages/baklysystems/laravel-translatable-bootforms)[ RSS](/packages/baklysystems-laravel-translatable-bootforms/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (6)Versions (34)Used By (0)

Laravel Translatable BootForms
==============================

[](#laravel-translatable-bootforms)

[![Build Status](https://camo.githubusercontent.com/9a3cade761c1c7b599e1c70d34798bc1b5895f951e5b7e437307755b5355bf84/68747470733a2f2f7472617669732d63692e6f72672f50726f706167616e69737461732f4c61726176656c2d5472616e736c617461626c652d426f6f74666f726d732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Propaganistas/Laravel-Translatable-Bootforms)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/8d3baa8238e46f2426cab1340241ab262fa130b0d9069ae4a758af498f0dc119/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f50726f706167616e69737461732f4c61726176656c2d5472616e736c617461626c652d426f6f74466f726d732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Propaganistas/Laravel-Translatable-BootForms/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/406c7e3441352cfac83e83b464c7ce2a6304c90ab99e26528607f1c99a4a362e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f50726f706167616e69737461732f4c61726176656c2d5472616e736c617461626c652d426f6f74666f726d732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Propaganistas/Laravel-Translatable-Bootforms/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/d793d8d84acec3e15f75dbff7c2e10f9fa9a5e21441899d864791cf4ced3c85a/68747470733a2f2f706f7365722e707567782e6f72672f70726f706167616e69737461732f6c61726176656c2d7472616e736c617461626c652d626f6f74666f726d732f762f737461626c65)](https://packagist.org/packages/propaganistas/laravel-translatable-bootforms)[![Total Downloads](https://camo.githubusercontent.com/2585dfc9b8bec8fb7593b7e7aa14be36566eb937025c6406ce5ff7cf9b69b552/68747470733a2f2f706f7365722e707567782e6f72672f70726f706167616e69737461732f6c61726176656c2d7472616e736c617461626c652d626f6f74666f726d732f646f776e6c6f616473)](https://packagist.org/packages/propaganistas/laravel-translatable-bootforms)[![License](https://camo.githubusercontent.com/4b8d2b3e44f8777b94da24b0e2c265bd50c989a31028d5b5ac06a61184acb37a/68747470733a2f2f706f7365722e707567782e6f72672f70726f706167616e69737461732f6c61726176656c2d7472616e736c617461626c652d626f6f74666f726d732f6c6963656e7365)](https://packagist.org/packages/propaganistas/laravel-translatable-bootforms)

Make [BootForms](https://github.com/adamwathan/bootforms) work flawlessly with [Laravel Translatable](https://github.com/dimsav/laravel-translatable)!

By importing this package, generating translatable forms using BootForms is a breeze.

### Installation

[](#installation)

1. Run the Composer require command to install the package

    ```
    composer require propaganistas/laravel-translatable-bootforms
    ```
2. In your app config, add the Service Provider in the `$providers` array **after** `BootFormsServiceProvider` and `TranslatableServiceProvider`

    ```
    'providers' => [
        AdamWathan\BootForms\BootFormsServiceProvider::class,
        Dimsav\Translatable\TranslatableServiceProvider::class,
        ...
        Propaganistas\LaravelTranslatableBootForms\TranslatableBootFormsServiceProvider::class,
    ],
    ```
3. In your app config, add the Facade to the `$aliases` array

    ```
    'aliases' => [
        ...
        'TranslatableBootForm' => Propaganistas\LaravelTranslatableBootForms\Facades\TranslatableBootForm::class,
    ],
    ```
4. Publish the configuration file

    ```
    php artisan vendor:publish --provider="Propaganistas\LaravelTranslatableBootForms\TranslatableBootFormsServiceProvider" --tag="config"
    ```

### Usage

[](#usage)

Simply use the `TranslatableBootForm` Facade as if it were `BootForm`! That's it. Multiple form inputs will now be generated for the locales set in Translatable's configuration file. They will have the corresponding value for each language and will save all of the translations without any code manipulation.

Please review [BootForms' documentation](https://github.com/adamwathan/bootforms#using-bootforms) if you're unsure how to use it.

Example:

```
// View
{!! BootForm::text('Name', 'name')
            ->placeholder('My placeholder') !!}

// Output

    Name

// Controller
public function postEdit($request)
{
    $someModel->save($request->all());
}
```

```
// View
{!! TranslatableBootForm::text('Name', 'name')
                        ->placeholder('My placeholder') !!}

// Output

    Name (en)

    Name (nl)

// Controller
public function postEdit($request)
{
    $someModel->save($request->all());
}
```

You can use the `%name` and `%locale` placeholders while specifying parameters. The placeholder will be replaced with the corresponding input name or locale. This can be useful for two-way data binding libraries such as Angular.js or Vue.js. E.g.

```
{!! TranslatableBootForm::text('Title', 'title')
                        ->attribute('some-attribute', 'Name: %name')
                        ->attribute('another-attribute', 'Locale: %locale') !!}

// Output

    Title (en)

    Title (nl)

```

To render a *form element only for some chosen locales*, explicitly call `renderLocale()` as the final method and pass the locale or an array of locales as the first parameter:

```
TranslatableBootForm::text('Name','name')
                    ->renderLocale('en')
```

If you need to apply a *method only for certain locales*, suffix the method with `ForLocale` and pass the locale or an array of locales as the first parameter:

```
TranslatableBootForm::text('Name','name')
                    ->dataForLocale('en', 'attributeName', 'attributeValue')
                    ->addClassForLocale(['en', 'nl'], 'addedClass')
```

In case you need to construct name attributes other than `en[name]`, e.g. `item.en.name`, manually insert the `%locale` placeholder in your name attribute. Note that model binding will **break** for these inputs.

```
TranslatableBootForm::text('Name','item.%locale.name')

// Output

    Name (en)

```

For customizing the locale indicator in the label (and several other settings), please take a look at the configuration file.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 86.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~71 days

Recently: every ~312 days

Total

28

Last Release

1939d ago

PHP version history (3 changes)1.0.0PHP &gt;=5.5.0

1.0.1PHP &gt;=5.6.0

1.1.4PHP &gt;=5.5.9

### Community

Maintainers

![](https://www.gravatar.com/avatar/ae40e9a505cc770df9cf08ccc3deae2d3abec9b95df4e0c6dfc852eccc176049?d=identicon)[elbakly](/maintainers/elbakly)

---

Top Contributors

[![Propaganistas](https://avatars.githubusercontent.com/u/6680176?v=4)](https://github.com/Propaganistas "Propaganistas (70 commits)")[![elbakly](https://avatars.githubusercontent.com/u/2504606?v=4)](https://github.com/elbakly "elbakly (5 commits)")[![sdebacker](https://avatars.githubusercontent.com/u/134503?v=4)](https://github.com/sdebacker "sdebacker (5 commits)")[![jnbn](https://avatars.githubusercontent.com/u/112425?v=4)](https://github.com/jnbn "jnbn (1 commits)")

---

Tags

laraveli18ntranslatableformbootforms

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/baklysystems-laravel-translatable-bootforms/health.svg)

```
[![Health](https://phpackages.com/badges/baklysystems-laravel-translatable-bootforms/health.svg)](https://phpackages.com/packages/baklysystems-laravel-translatable-bootforms)
```

###  Alternatives

[outhebox/laravel-translations

Manage your Laravel translations with a beautiful UI. Add, edit, delete, import, and export translations with ease.

81396.3k](/packages/outhebox-laravel-translations)[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

4821.5k](/packages/erag-laravel-lang-sync-inertia)[outl1ne/nova-translatable

A laravel-translatable extension for Laravel Nova.

202451.8k8](/packages/outl1ne-nova-translatable)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
