PHPackages                             alzoubi/multilang-slug - 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. alzoubi/multilang-slug

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

alzoubi/multilang-slug
======================

A package to generate multilingual slugs easily for Laravel models

00PHP

Since Sep 18Pushed 7mo agoCompare

[ Source](https://github.com/abdulalrhmanalzoubi/MultilangSlug)[ Packagist](https://packagist.org/packages/alzoubi/multilang-slug)[ RSS](/packages/alzoubi-multilang-slug/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

MultilangSlug
=============

[](#multilangslug)

**MultilangSlug** is a PHP package for Laravel applications that automatically generates SEO-friendly slugs for models in multiple languages, including Arabic and English. Unlike Laravel's default `Str::slug()` method, which may not handle non-Latin scripts correctly, this package ensures proper slug generation across various locales and guarantees uniqueness in the database.

---

Features
--------

[](#features)

- **Multilingual Support**: Handles multiple languages, including Arabic, without relying on transliteration.
- **Automatic Uniqueness**: Ensures that slugs are unique in your database, appending a counter if necessary.
- **Customizable Separator**: Define the word separator (e.g., `-`, `_`) for your slugs.
- **Locale Awareness**: Automatically generates slugs based on the model's locale.
- **Seamless Eloquent Integration**: Works with your models using a simple Trait.

---

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

[](#installation)

Install the package via Composer:

```
composer require alzoubi/multilang-slug
```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance43

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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/0b3095d55eddaa8b9e72813fa8764cf73d1f2b60b2769b22c5e433eddf488a5b?d=identicon)[abdulalrhmanalzoubi](/maintainers/abdulalrhmanalzoubi)

---

Top Contributors

[![AbdAlrhmanAlzoube](https://avatars.githubusercontent.com/u/132813812?v=4)](https://github.com/AbdAlrhmanAlzoube "AbdAlrhmanAlzoube (3 commits)")[![abdulalrhmanalzoubi](https://avatars.githubusercontent.com/u/233067424?v=4)](https://github.com/abdulalrhmanalzoubi "abdulalrhmanalzoubi (3 commits)")

### Embed Badge

![Health badge](/badges/alzoubi-multilang-slug/health.svg)

```
[![Health](https://phpackages.com/badges/alzoubi-multilang-slug/health.svg)](https://phpackages.com/packages/alzoubi-multilang-slug)
```

###  Alternatives

[kbs1/laravel-abbreviations

Abbreviations / acronyms support for your app.

1018.6k](/packages/kbs1-laravel-abbreviations)

PHPackages © 2026

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