PHPackages                             simbiat/translit - 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. simbiat/translit

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

simbiat/translit
================

Class to transliterate lots of characters

1.2.0+20210129(5y ago)011[7 issues](https://github.com/Simbiat/translit/issues)AGPL-3.0-or-laterPHPPHP &gt;=7.4.0

Since Jul 1Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/Simbiat/translit)[ Packagist](https://packagist.org/packages/simbiat/translit)[ Docs](https://github.com/Simbiat/prettyurl)[ RSS](/packages/simbiat-translit/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)DependenciesVersions (5)Used By (0)

PrettyURL
=========

[](#prettyurl)

```
\Simbiat\HTTP\Convert::pretty(string $string, string $whitespace = '-', bool $url_safe = true);
```

Function transliterates lots of characters and makes a safe and pretty URL. This is intended more as a SEO thing, rather than sanitization.

Includes the majority (if not all) of diacritics (accented characters), cyrillic, hiragana, katakana, arabic, chinese characters. They are replaced by Latin characters or combinations that are representing how they are pronounced, officially romanized or the closest neighbors in terms of how a character is drawn.

It also allows replacing whitespace characters with a character of your choosing (hyphen as default).

If `$url_safe` is set to `true`, some characters will be removed as well, because they can "break" the URL. Some of them are valid for a URI, but they are not good for SEO links.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance60

Regular maintenance activity

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity66

Established project with proven stability

 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

Every ~314 days

Total

4

Last Release

1935d ago

PHP version history (2 changes)1.0.0.1PHP &gt;=5.0.0

1.1.0+20200905PHP &gt;=7.4.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6022665?v=4)[Dmitrii Kustov](/maintainers/Simbiat)[@Simbiat](https://github.com/Simbiat)

---

Top Contributors

[![Simbiat](https://avatars.githubusercontent.com/u/6022665?v=4)](https://github.com/Simbiat "Simbiat (2 commits)")

---

Tags

urlsafeprettytransliteration

### Embed Badge

![Health badge](/badges/simbiat-translit/health.svg)

```
[![Health](https://phpackages.com/badges/simbiat-translit/health.svg)](https://phpackages.com/packages/simbiat-translit)
```

###  Alternatives

[jbroadway/urlify

A fast PHP slug generator and transliteration library that converts non-ascii characters for use in URLs.

6737.4M62](/packages/jbroadway-urlify)[spomky-labs/base64url

Base 64 URL Safe Encoding/Decoding PHP Library

15439.5M49](/packages/spomky-labs-base64url)[spatie/url

Parse, build and manipulate URL's

73914.3M97](/packages/spatie-url)[league/uri-components

URI components manipulation library

31932.3M67](/packages/league-uri-components)[sabre/uri

Functions for making sense out of URIs.

29335.2M40](/packages/sabre-uri)[ausi/slug-generator

Slug Generator

8002.2M22](/packages/ausi-slug-generator)

PHPackages © 2026

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