spamacom/laravel-translatable
最新稳定版本:11.12.2
Composer 安装命令:
composer require spamacom/laravel-translatable
包简介
A Laravel package for multilingual models | upgraded By Mouhammad Alali
README 文档
README
If you want to store translations of your models into the database, this package is for you.
This is a Laravel package for translatable models. Its goal is to remove the complexity in retrieving and storing multilingual model instances. With this package you write less code, as the translations are being fetched/saved when you fetch/save your instance.
The full documentation can be found at GitBook.
Installation
composer require spamacom/laravel-translatable
Quick Example
Model()->whereTranslationFullText('name','any word',['mode'=>'boolean'])->orWhereTranslationFullText('name','any word',['mode'=>'boolean'])
Visit the totorial for more details how you can use fulltext search function Boolean Full-Text Searches.
统计信息
- 总下载量: 65
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-06-05
