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

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

kostasch/greeklish
==================

Convert Greek text to greeklish (latin) and generate URL friendly slugs for Laravel.

v1.0.1(1mo ago)812[1 issues](https://github.com/kostasxyz/greeklish/issues)MITPHPPHP ^8.3CI passing

Since May 28Pushed 1mo agoCompare

[ Source](https://github.com/kostasxyz/greeklish)[ Packagist](https://packagist.org/packages/kostasch/greeklish)[ Docs](https://github.com/kostasxyz/greeklish)[ RSS](/packages/kostasch-greeklish/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (5)Versions (3)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

40

—

FairBetter than 86% of packages

Maintenance86

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Every ~0 days

Total

2

Last Release

57d ago

PHP version history (2 changes)v1.0.0PHP ^8.2

v1.0.1PHP ^8.3

### 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)")

---

Tags

sluglaravelgreektransliterationgreeklishkostasch

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M347](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[vinkius-labs/laravel-page-speed

Laravel Page Speed

2.5k12.5k1](/packages/vinkius-labs-laravel-page-speed)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90142.9k](/packages/emargareten-inertia-modal)[wearepixel/laravel-cart

A cart implementation for Laravel

1374.8k](/packages/wearepixel-laravel-cart)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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