mac/transliterate

Transliterate or slugify text

1.0.0 2014-01-10 11:39 UTC

This package is not auto-updated.

Last update: 2024-04-23 00:42:23 UTC


README

Build Status

Transliterate is a simple class to transliterate and slugify strings

Usage example:

<?php
	$t = new Transliterate();
	echo $t->translit('Привет мир');
	echo $t->slug('Привет мир');
?>

Will produce:

Privet mir
privet-mir