New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

webfactorybulgaria/translatablebootforms

Form model binding for translated fields, use BootForms and Translatable.
58
Install
composer require webfactorybulgaria/translatablebootforms
Latest Version:v4.0.1
PHP:>=5.4.0
Older releases:4
License:MIT
Last Updated:Jan 6, 2016
Links: GitHub  ·  Packagist
Maintainer: webfactorybulgaria

TranslatableBootForms

TranslatableBootForms is a Laravel package built on top of BootForms and Laravel Translatable, it enables form model binding on translated fields.

Installing with Composer

You can install this package via Composer with this command:

composer require typicms/translatablebootforms

Installation in Laravel

Modify the providers array in config/app.php to include the service provider:

'providers' => [
    //…
    TypiCMS\TranslatableBootForms\TranslatableBootFormsServiceProvider::class,
],

Run composer update

Add the BootForm and Translatable facades to the aliases array in `config/app.php:

'aliases' => [
    //…
    'BootForm' => AdamWathan\BootForms\Facades\BootForm::class,
    'Translatable' => Dimsav\Translatable\Translatable::class,
],

You can now start using BootForms by calling methods directly on the BootForm facade:

BootForm::text('title', 'en[title]')

Documentation

BootForms
https://github.com/adamwathan/bootforms
Laravel-Translatable
https://github.com/dimsav/laravel-translatable

Related Packages

typicms/translatable

A trait to make an Eloquent model hold translations

4,347 1
marshmallow/translatable

Add translation to your Nova Resources. The translations will be stored in a tra...

15,734 2
novius/laravel-nova-translatable

A Laravel Nova package for translatable fields

10,258 0
sertxudeveloper/laravel-translatable

Manage localized routes and use translatable models in a Laravel app.

3,605 18
javaabu/translatable

Adds multi-lingual to Laravel models

2,264 0

Version History

Version Released PHP Laravel License
v4.0.1 >=5.4.0 MIT
v4.0.0 >=5.4.0 MIT
v2.3.0 >=5.4.0 MIT
v2.2.0 >=5.4.0 MIT
v2.1.2 >=5.4.0 MIT