spamacom/laravel-translatable

A Laravel package for multilingual models | upgraded By Mouhammad Alali

11.12.2 2023-06-05 12:18 UTC

This package is not auto-updated.

Last update: 2024-05-21 15:41:02 UTC


README

Latest Version MIT License Offset Earth Larabelles

GitHub Workflow Status StyleCI Codecov Coverage Total Downloads GitBook

laravel-translatable socialcard

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.