Skip to content

spamacom/laravel-translatable

 
 

Repository files navigation

Introduction

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.

About

A Laravel package for multilingual models

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%