typicms/translatablebootforms
最新稳定版本:v2.3.0
Composer 安装命令:
composer require typicms/translatablebootforms
包简介
Form model binding for translated fields, use BootForms and Translatable.
README 文档
README
Instead of this package, next version of TypiCMS will probably use Laravel-Translatable-Bootforms
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
统计信息
- 总下载量: 2.63k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-11-19