Package Data | |
---|---|
Maintainer Username: | webfactorybulgaria |
Maintainer Contact: | sdebacker@gmail.com (Samuel De Backer) |
Package Create Date: | 2015-12-11 |
Package Last Update: | 2016-01-06 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-22 03:17:10 |
Package Statistics | |
---|---|
Total Downloads: | 57 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
TranslatableBootForms is a Laravel package built on top of BootForms and Laravel Translatable, it enables form model binding on translated fields.
You can install this package via Composer with this command:
composer require typicms/translatablebootforms
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]')
BootForms
https://github.com/adamwathan/bootforms
Laravel-Translatable
https://github.com/dimsav/laravel-translatable