PHPackages                             sanskrit/sanscript - 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. sanskrit/sanscript

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sanskrit/sanscript
==================

Transliteration library for Sanskrit and other Indian languages.

v1.0.1(9y ago)162.9k12[4 issues](https://github.com/sanskrit/sanscript.php/issues)MITPHPPHP &gt;=5.4.8

Since Jan 6Pushed 9y ago2 watchersCompare

[ Source](https://github.com/sanskrit/sanscript.php)[ Packagist](https://packagist.org/packages/sanskrit/sanscript)[ RSS](/packages/sanskrit-sanscript/feed)WikiDiscussions master Synced 1mo ago

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

Sanscript.php
=============

[](#sanscriptphp)

Introduction
------------

[](#introduction)

Sanscript.php is a transliteration library for Indian languages written in PHP. It supports the most popular Indian scripts and several different romanization schemes. Although Sanscript focuses on Sanskrit transliteration, it has partial support for other languages and is easy to extend.

Requirements
------------

[](#requirements)

Sanscript requires PHP 5.4.8 and up. PHP versions before 5.4.8 have a version of `mb_substr()` that is known to be [broken](http://us.php.net/ChangeLog-5.php). These versions will not work with Sanscript.

Usage
-----

[](#usage)

Sanscript is simple to use.

First install the [Composer](http://getcomposer.org) package manager, then install Sanscript with:

```
composer require sanskrit/sanscript

```

then invoke Sanscript like this:

```
