Laravel Community Tools by Tighten
Laravel Nova icon Nova Packages
T

thaana-latin-field

Readme

thaana-latin-field

This Nova Package allow you to use Nova field for thaana latin conversion Please note that this package is still testing. The latin translation may not be perfect

image

Installation

composer require aiman/thaana-latin-field

Usage

In your Nova resource add the use declaration and use the Nova Latin Field In order to use this field you must install Thaana Text Field

use Aiman\ThaanaLatinField\ThaanaLatinField;

    /**
     * Get the fields displayed by the resource.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    public function fields(Request $request)
    {
        return [
            ID::make()->sortable(),

            ThaanaTextField::make('Content', 'content')->convertToLatin('latin_content'),
            ThaanaLatinField::make('Latin Content', 'latin_content'),
        ];
    }

Important

This package is tested for nova 2.0+ Latest tested on nova v3.6.0

Credit

Huge Credit goes for @Jawish Hameed for his thaana translation plugin Thaana Keyboard

Back to Top
Added 5 years ago
Last updated 5 Years Ago
Version v1.0.0
Composer
aiman/thaana-latin-field
GitHub stars 1
Packagist downloads 10

Favorites

0 users favorited

Rating

N/A
(out of 5)
★★★★★
★★★★
★★★
★★
0 ratings

Brought to you by Tighten

Issues/Feature Requests Stats Package Ideas