laravel-translatable maintained by spamacom
Description
A Laravel package for multilingual models | upgraded By Mouhammad Alali
Authors
Last update
2023/06/05 14:18
(dev-main)
License
Downloads
68
Tags
Introduction
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.