PHPackages                             spanjaan/wn-nepaliunicode-plugin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. spanjaan/wn-nepaliunicode-plugin

ActiveWinter-plugin[Utility &amp; Helpers](/categories/utility)

spanjaan/wn-nepaliunicode-plugin
================================

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

v1.0.0(6mo ago)03MITPHPPHP &gt;=8.0

Since Nov 1Pushed 6mo agoCompare

[ Source](https://github.com/spanjaan/wn-nepaliunicode-plugin)[ Packagist](https://packagist.org/packages/spanjaan/wn-nepaliunicode-plugin)[ Docs](https://github.com/spanjaan/wn-nepaliunicode-plugin)[ RSS](/packages/spanjaan-wn-nepaliunicode-plugin/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Nepali Unicode Plugin for WinterCMS
===================================

[](#nepali-unicode-plugin-for-wintercms)

[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

Nepali Unicode plugin for WinterCMS provides a powerful and user-friendly way to convert Nepali text between different font encodings. It supports conversion from **Preeti** and **Hisab** fonts to standard **Nepali Unicode**, as well as conversion between Preeti and Hisab fonts.

---

Features
--------

[](#features)

- **Multiple Font Support**

    - Convert from Preeti to Unicode
    - Convert from Hisab to Unicode
    - Convert between Preeti and Hisab fonts
    - Preserve formatting and special characters
- **User-Friendly Interface**

    - Clean, responsive design
    - Tailwind css for frontend
    - Real-time conversion
    - Copy-to-clipboard functionality
    - Clear text option
    - Dark mode support
- **Flexible Configuration**

    - Customizable default input font
    - Configurable output format
    - Easy integration with any CMS page
- **Robust Implementation**

    - Full character mapping support
    - Post-processing rules for accurate conversion
    - Error handling and input validation
    - Cross-browser compatible

---

Installation
------------

[](#installation)

### Using Composer (Recommended)

[](#using-composer-recommended)

```
cd /path/to/your/wintercms
composer require spanjaan/wn-nepaliunicode-plugin
```

### Manual Installation

[](#manual-installation)

```
git clone https://github.com/spanjaan/wn-nepaliunicode-plugin.git
```

Move the plugin folder to:

```
/plugins/spanjaan/nepaliunicode

```

---

Usage
-----

[](#usage)

### Adding the Converter to a CMS Page

[](#adding-the-converter-to-a-cms-page)

1. Open your CMS page in the Winter CMS backend.
2. Add the component to your page:

```
[unicodeConverter]
```

3. Place the component in your page content:

```
{% component 'unicodeConverter' %}
```

### Component Configuration

[](#component-configuration)

The Unicode Converter component can be configured with the following properties:

PropertyDescriptionDefaultOptionsdefaultInputFontDefault font for inputpreetipreeti, hisabdefaultOutputFontDefault font for outputunicodeunicode, preeti, hisabExample configuration:

```
[unicodeConverter]
defaultInputFont = "preeti"
defaultOutputFont = "unicode"
```

### Using the Converter

[](#using-the-converter)

1. **Input Text**: Type or paste text in either Preeti or Hisab font.
2. **Select Fonts**: Choose input and output font types from the dropdowns.
3. **Convert**: Text is converted automatically as you type.
4. **Copy Results**: Click the copy button to copy the converted text.

### Supported Conversions

[](#supported-conversions)

- Preeti → Unicode
- Hisab → Unicode
- Preeti → Hisab
- Hisab → Preeti

---

Advanced Usage
--------------

[](#advanced-usage)

### CSS Classes

[](#css-classes)

The component uses the following font classes:

- `.font-preeti` - For Preeti font text
- `.font-hisab` - For Hisab font text
- `.font-unicode` - For Unicode text

### Event Handlers

[](#event-handlers)

The component includes the following AJAX handlers:

- `onConvert` - Handles text conversion
- `onChangeInputFont` - Updates input font
- `onChangeOutputFont` - Updates output font
- `onCopy` - Handles copy to clipboard
- `onClear` - Clears input text

---

Browser Support
---------------

[](#browser-support)

- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- Opera (latest)

---

Support
-------

[](#support)

- GitHub Issues:
- Source Code:

---

Contributing
------------

[](#contributing)

1. Fork the repository.
2. Create a feature branch.
3. Write tests for new features.
4. Submit a Pull Request.

Please follow these coding standards:

- PSR-12 coding style
- PHPDoc blocks for all classes and methods
- Meaningful variable and function names
- Clear commit messages

---

License
-------

[](#license)

MIT License © Sudarshan Pudasaini

This plugin is provided as-is without any warranty. Use at your own risk.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance68

Regular maintenance activity

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

190d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bb70cd5ede50a030d302774635dee1252f8d00b6838b2aec2519329a92ae20db?d=identicon)[spanjaan](/maintainers/spanjaan)

---

Top Contributors

[![spanjaan](https://avatars.githubusercontent.com/u/64153858?v=4)](https://github.com/spanjaan "spanjaan (3 commits)")

---

Tags

hisab-to-unicodenepaliunicodepreeti-to-unicodeunicodeconverterwintercmswinter-pluginnepali-unicodepreetihisab

### Embed Badge

![Health badge](/badges/spanjaan-wn-nepaliunicode-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/spanjaan-wn-nepaliunicode-plugin/health.svg)](https://phpackages.com/packages/spanjaan-wn-nepaliunicode-plugin)
```

###  Alternatives

[nette/utils

🛠 Nette Utils: lightweight utilities for string &amp; array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.

2.1k394.3M1.5k](/packages/nette-utils)[matthiasmullie/path-converter

Relative path converter

10229.6M7](/packages/matthiasmullie-path-converter)[stevenay/myanfont

Zawgyi and Unicode Font Detector and Converter

157.5k2](/packages/stevenay-myanfont)[winter/wn-seo-plugin

Winter CMS plugin for managing SEO tags

106.3k](/packages/winter-wn-seo-plugin)[winter/wn-tailwindui-plugin

Provides a TailwindUI-based skin for the Winter CMS backend.

1812.8k](/packages/winter-wn-tailwindui-plugin)[winter/wn-notes-plugin

Easily add notes to any record in WinterCMS

121.4k](/packages/winter-wn-notes-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
