PHPackages                             skapator/greeklish - 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. skapator/greeklish

Abandoned → [kostasch/greeklish](/?search=kostasch%2Fgreeklish)Helper[Utility &amp; Helpers](/categories/utility)

skapator/greeklish
==================

Converts Greek characters to latin. Used for slugs mainly

81852[1 issues](https://github.com/skapator/greeklish/issues)PHPCI passing

Since Sep 30Pushed 1mo agoCompare

[ Source](https://github.com/skapator/greeklish)[ Packagist](https://packagist.org/packages/skapator/greeklish)[ RSS](/packages/skapator-greeklish/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Greeklish
=========

[](#greeklish)

Convert Greek text to latin characters and generate clean, URL-friendly slugs for Laravel.

Vowels follow the **ELOT 743 / ISO 843** letter-preserving rules (`αι→ai`, `ει→ei`, `οι→oi`, `υι→yi`, `υ→y`), with the `αυ`/`ευ`/`ηυ` voicing rules (`αυτός → aftos`, `ευρώ → evro`), accent and diaeresis stripping, and guillemet removal. Greek names transcribe as on a passport — `Αικατερίνη → aikaterini`, `Ειρήνη → eirini`, `Οικονόμου → oikonomou`.

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

[](#requirements)

- PHP 8.3+
- Laravel 12 or 13

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

[](#installation)

```
composer require kostasch/greeklish
```

The service provider and the `Greeklish` facade are registered automatically through Laravel package discovery — no configuration required.

Usage
-----

[](#usage)

```
use Kostasch\Greeklish\Facades\Greeklish;

Greeklish::make('Γεια σου Κόσμε');   // "geia sou kosme"
Greeklish::text('Γεια σου Κόσμε');   // "geia sou kosme"
Greeklish::slug('Γεια σου Κόσμε');   // "geia-sou-kosme"
```

### `make()`

[](#make)

Raw transliteration of Greek to latin, leaving spacing and punctuation in place.

```
Greeklish::make('Καλημέρα!'); // "kalimera!"
```

### `text()`

[](#text)

Transliteration with optional stripping of short words.

```
Greeklish::text('ο σκύλος μου');           // "o skylos mou"
Greeklish::text('ο σκύλος μου', true);      // "skylos mou"  (drops one-letter words)
Greeklish::text('το σπίτι', false, true);   // "spiti"       (drops two-letter words)
```

### `slug()`

[](#slug)

Builds a URL-friendly slug. `stopOne` defaults to `true`, so one-letter words are dropped.

```
Greeklish::slug('Άρθρο για την Ελλάδα'); // "arthro-gia-tin-ellada"
Greeklish::slug('ο σκύλος μου');          // "skylos-mou"
Greeklish::slug('ο σκύλος μου', false);   // "o-skylos-mou"
```

### Without the facade

[](#without-the-facade)

The class is bound in the container and can be resolved or injected directly:

```
use Kostasch\Greeklish\Greeklish;

public function store(Greeklish $greeklish): void
{
    $slug = $greeklish->slug($request->title);
}
```

Testing
-------

[](#testing)

```
composer test
```

License
-------

[](#license)

The MIT License (MIT). Please see [LICENSE.md](LICENSE.md) for more information.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance59

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/921cec8ec7b812de972320e336f3b9aefde89a06adaa7fe5038e5fdcc4306464?d=identicon)[skapator](/maintainers/skapator)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/skapator-greeklish/health.svg)

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

PHPackages © 2026

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