PHPackages                             yebto/laravel-transliterator-api - 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. [API Development](/categories/api)
4. /
5. yebto/laravel-transliterator-api

ActiveLibrary[API Development](/categories/api)

yebto/laravel-transliterator-api
================================

Laravel SDK wrapper for YEB Transliterator API

v1.0.0(9mo ago)02MITPHPPHP ^8.1

Since Jul 30Pushed 9mo agoCompare

[ Source](https://github.com/yebto/laravel-transliterator-api)[ Packagist](https://packagist.org/packages/yebto/laravel-transliterator-api)[ RSS](/packages/yebto-laravel-transliterator-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

---

Laravel Transliterator API SDK
==============================

[](#laravel-transliterator-api-sdk)

Simple, fluent Laravel 10 / 11 wrapper around the **[YEB Transliterator](https://yeb.to/api/transliterator)** endpoint—convert Cyrillic, Greek, and other non-Latin text to Romanised output or various case/sluggified forms straight from your Laravel codebase.

---

Table of Contents
-----------------

[](#table-of-contents)

1. [Features](#features)
2. [Requirements](#requirements)
3. [Installation](#installation)
4. [Configuration](#configuration)
5. [Usage](#usage)
6. [Options Reference](#options-reference)
7. [Examples](#examples)
8. [Troubleshooting](#troubleshooting)
9. [Contributing](#contributing)
10. [License](#license)

---

Features
--------

[](#features)

- **Zero-boilerplate** – auto-discovered service provider &amp; facade
- **Supports Laravel 10 &amp; 11** via `illuminate/support`
- One-line helper `TransliteratorAPI::transliterate()` for every request
- Easily publish &amp; tweak default `config/transliterator.php`
- Sensible cURL defaults (timeout, JSON headers, UA string)
- Throws expressive `RuntimeException`s on missing keys / API errors

---

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

[](#requirements)

MinimumPHP8.1Laravel10.x / 11.xYEB AccountValid API key (`YEB_KEY_ID`)---

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

[](#installation)

```
composer require yebto/laravel-transliterator-api

# (optional) publish the config so you can edit defaults
php artisan vendor:publish --tag=transliterator-config
```

---

Configuration
-------------

[](#configuration)

```
# .env
YEB_KEY_ID=****************************************
YEB_API_BASE=https://api.yeb.to/v1/   # override if self-hosting
```

The published **`config/transliterator.php`** lets you tune:

- `base_url` – alternate endpoint
- global cURL options (timeouts, headers, etc.)

---

Usage
-----

[](#usage)

```
use TransliteratorAPI;

// basic
$result = TransliteratorAPI::transliterate('bg', 'Дядовите чички');

/*
[
    "lang"      => "bg",
    "type"      => "plain",
    "delimiter" => "-",
    "original"  => "Дядовите чички",
    "result"    => "Dyadovite chichki"
]
*/

// slug with custom delimiter
TransliteratorAPI::transliterate(
    lang:      'ru',
    text:      'Мой дядя самых честных правил',
    type:      'slug',
    delimiter: '_'
); // => "moy_dyadya_samykh_chestnykh_pravil"
```

---

Options Reference
-----------------

[](#options-reference)

KeyAllowed valuesDefault`lang``bg`, `ru`, `el`, … (see YEB docs)—`text`Source string—`type``plain`, `slug`, `snake`, `camel`, `capital`, `upper`, `lower``plain``delimiter`Single character (only used when `type = slug`)`-`---

Examples
--------

[](#examples)

### Route stub (Laravel API)

[](#route-stub-laravel-api)

```
Route::post('/transliterator', function () {
    return TransliteratorAPI::transliterate(
        request('lang'),
        request('text'),
        request('type', 'plain'),
        request('delimiter', '-')
    );
});
```

### Programmatic call inside a job

[](#programmatic-call-inside-a-job)

```
class GenerateFilename implements ShouldQueue
{
    public function handle()
    {
        $slug = TransliteratorAPI::transliterate(
            'el',
            $this->originalTitle,
            'slug'
        )['result'];

        // ...
    }
}
```

---

Free Tier Access
----------------

[](#free-tier-access)

🎁 You can get **1,000+ free API requests** by registering on [yeb.to](https://yeb.to) using your **Google account**.

Steps:

1. Visit
2. Click **Login with Google**
3. Retrieve your API key and add it to your `.env` as `YEB_KEY_ID`

No credit card required!

---

Troubleshooting
---------------

[](#troubleshooting)

If you encounter issues:

- Ensure your API key is correct and active
- Double-check that the config file is published
- Validate parameters against the [API reference](https://yeb.to/api/transliterator)
- Check for typos in method names or required fields

---

Support
-------

[](#support)

- 📘 API Documentation:
- 📧 Email:
- 🐛 Issues: [GitHub Issues](https://github.com/yebto/youtube-api/issues)

---

License
-------

[](#license)

© NETOX Ltd. Licensed under a proprietary or custom license unless stated otherwise in the repository.

> 💬 Have an idea, feature request, or want to suggest a new YouTube-related API? Reach out to us at  — we’d love to hear from you!

---

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance57

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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

Unknown

Total

1

Last Release

287d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/57d7e2ce619fb0a25c0b8ebf53ab60f9aba259cbb926f697dc0cb6b5349dea85?d=identicon)[yebto](/maintainers/yebto)

---

Top Contributors

[![yebto](https://avatars.githubusercontent.com/u/217711937?v=4)](https://github.com/yebto "yebto (3 commits)")

---

Tags

aiapilaravelphp

### Embed Badge

![Health badge](/badges/yebto-laravel-transliterator-api/health.svg)

```
[![Health](https://phpackages.com/badges/yebto-laravel-transliterator-api/health.svg)](https://phpackages.com/packages/yebto-laravel-transliterator-api)
```

###  Alternatives

[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[mll-lab/laravel-graphiql

Easily integrate GraphiQL into your Laravel project

683.2M9](/packages/mll-lab-laravel-graphiql)[spatie/laravel-route-discovery

Auto register routes using PHP attributes

23645.0k2](/packages/spatie-laravel-route-discovery)[esign/laravel-conversions-api

A laravel wrapper package around the Facebook Conversions API

69145.4k](/packages/esign-laravel-conversions-api)[didww/didww-api-3-php-sdk

PHP SDK for DIDWW API 3

1218.2k](/packages/didww-didww-api-3-php-sdk)[surface/laravel-webfinger

A Laravel package to create an ActivityPub webfinger.

113.8k](/packages/surface-laravel-webfinger)

PHPackages © 2026

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