New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

pantagruel964/laravel5-yandex-slug

Generate slug into translit in according to Yandex rules for Laravel 5
755 4

Larablocks Analysis

pantagruel964/laravel5-yandex-slug is built for Laravel 5, going by its name (latest release 1.0.0, Jan 3, 2017), which reached end of life: no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 5, past end of life
  • No release in the last 12 months (last: Jan 3, 2017)
  • 20 downloads a month (needs 10,000)
  • 4 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Jan 3, 2017.
  • No releases in the last 12 months.
  • First released: Jan 3, 2017.
  • Monthly downloads: 20, down 82% from six months ago.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 26, 2026.

Install
composer require pantagruel964/laravel5-yandex-slug
Latest Version:1.0.0
PHP:>=5.4.0
License:MIT
Last Updated:Sep 16, 2017
Links: GitHub  ·  Packagist
Maintainer: pantagruel964

Transliterate cyrillic characters in according to Yandex rules for Laravel 5

Laravel 5 has it's own function str_slug to revert cyrillic characters into translit. But it is not quite right for Yandex.

For example, if you make your URL like this: $slug = str_slug('ёлка') function return result elka. It's not good for SEO. Your URL won't be highlighted into the SERP: not highlighted into the serp

The package makes slug characters in according to Yandex rules, in particular such characters as ё, щ, я, ю, ж, ц. As result Yandex will highlight keyword in URL into the SERP highlighted into the serp

Installation

composer require pantagruel964/laravel5-yandex-slug

After updating composer, add the service provider and facade in config/app.php

'providers' => [
...
Pantagruel964\Laravel5YandexSlug\SlugServiceProvider::class
...
]

'aliases' => [
...
'Slug' => Pantagruel964\Laravel5YandexSlug\Facades\Slug::class
...
]

Using

$slug = Slug::make('ёлка')

License

This package for Laravel is open-sourced software licensed under the MIT license

Related Packages

raccoonsoftware/slug

Laravel 5.1 Slug Package

94 1
alexeymezenin/laravel-russian-slugs

Russian SEO friendly slugs for Laravel 5

2,842 26
hmazter/laravel-log-queue

Laravel 5+ package to push Queued jobs to the log

12,634 5
bassam-nab/laravel-arabic-slug

laravel-arabic-slug.

6 1
cocur/slugify

Converts a string into a slug.

78,892,324 2,893

Version History

Version Released PHP License
1.0.0 >=5.4.0 MIT