sibds/yii2-synctranslit

Widget for transliteration of text in the URL (on jQuery)

Installs: 196

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Language:JavaScript

Type:yii2-extension

dev-master 2023-03-28 07:01 UTC

This package is auto-updated.

Last update: 2024-12-03 08:29:59 UTC


README

Widget for transliteration of text in the URL (on JavaScript)

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist sibds/yii2-synctranslit "*"

or add

"sibds/yii2-synctranslit": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?php
 echo $form->field($model, 'name')->textInput(['maxlength' => true]);
 
 echo $form->field($model, 'alias')->widget(
         \sibds\widgets\translitInput::className(), 
         ['fromField' => 'name']
      );
?>