spanjaan/wn-nepaliunicode-plugin 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

spanjaan/wn-nepaliunicode-plugin

最新稳定版本:v2.0.0

Composer 安装命令:

composer require spanjaan/wn-nepaliunicode-plugin

包简介

Nepali Unicode conversion plugin for WinterCMS — converts Preeti and Hisab fonts to Nepali Unicode.

README 文档

README

Convert Nepali text between Preeti, Hisab, and Unicode instantly.

A lightweight WinterCMS plugin with real-time AJAX conversion, responsive UI, and dark mode support.

Features

  • Multi-format conversion: Preeti ↔ Hisab ↔ Unicode
  • Real-time conversion: 300ms debounce for smooth experience
  • One-click copy: Copy converted text to clipboard
  • Dark mode: Automatic system preference detection
  • Developer API: Use converters programmatically

Quick Start

[unicodeConverter]
defaultInputFont = "preeti"
defaultOutputFont = "unicode"
{% component 'unicodeConverter' %}

Configuration

Property Type Default Description
defaultInputFont dropdown preeti Input font (preeti, hisab)
defaultOutputFont dropdown unicode Output font (unicode, preeti, hisab)
maxLength string 100000 Max input characters

Developer API

use SpAnjaan\NepaliUnicode\Classes\PreetiConverter;

$unicode = PreetiConverter::convert($preetiText);
use SpAnjaan\NepaliUnicode\Classes\HisabConverter;

$unicode = HisabConverter::convert($hisabText);
use SpAnjaan\NepaliUnicode\Classes\FontConverter;

$hisab = FontConverter::preetiToHisab($preetiText);
$preeti = FontConverter::hisabToPreeti($hisabText);

Requirements

  • WinterCMS 1.2+
  • PHP 8.0+

Install

composer require spanjaan/wn-nepaliunicode-plugin

License

MIT © Sudarshan Pudasaini

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-11-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固