定制 aiman/thaana-text-field 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

aiman/thaana-text-field

Composer 安装命令:

composer require aiman/thaana-text-field

包简介

A Laravel Nova field for Thaana

README 文档

README

This Nova Package allow you to use Nova field with Thaana Keyboard

Installation

composer require aiman/thaana-text-field

Usage

In your Nova resource add the use declaration and use the NovaTinyMCE field:

use Aiman\ThaanaTextField\ThaanaTextField;

    /**
     * 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'),
        ];
    }

Thaana

You can turn thaana translation. by default it is true.

ThaanaTextField::make('Content', 'content')->thaana()

Keyboard Type

You can turn thaana keyboard type. by default it is phonetic.

ThaanaTextField::make('Content', 'content')->type()

Thaana to Latin Convertion

install this Thaana Latin Field in order for the function to work ThaanaTextField supports auto latin convertion

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

统计信息

  • 总下载量: 23
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: Vue

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-03-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固