PHPackages                             pishran/persian-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. pishran/persian-slug

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

pishran/persian-slug
====================

Generate a URL friendly slug from a given string.

v1.2.1(3y ago)529.7k↓14.5%11MITPHPPHP ^7.2|^8.0

Since Jan 9Pushed 3y ago1 watchersCompare

[ Source](https://github.com/pishran/persian-slug)[ Packagist](https://packagist.org/packages/pishran/persian-slug)[ Docs](https://github.com/pishran/persian-slug)[ RSS](/packages/pishran-persian-slug/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)DependenciesVersions (5)Used By (1)

Persian Slug
============

[](#persian-slug)

ایجاد اسلاگ استاندارد و فارسی

```
str_slug_persian('سلام دنیا!');
// سلام-دنیا

str_slug_persian('Hello world!');
// hello-world
```

روش نصب
-------

[](#روش-نصب)

برای نصب و استفاده از این پکیج می توانید از کمپوسر استفاده کنید:

`composer require pishran/persian-slug`

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity69

Established project with proven stability

 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 ~487 days

Total

4

Last Release

1224d ago

PHP version history (3 changes)v1.0.0PHP ^7.2

v1.1.0PHP ^7.2|^8.0

v1.2PHP ^7.2|^8.0|^9.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8607021?v=4)[Farid Aghili](/maintainers/FaridAghili)[@FaridAghili](https://github.com/FaridAghili)

---

Top Contributors

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

---

Tags

persianphpslugstringurlurlslugstringpersian

### Embed Badge

![Health badge](/badges/pishran-persian-slug/health.svg)

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

###  Alternatives

[jbroadway/urlify

A fast PHP slug generator and transliteration library that converts non-ascii characters for use in URLs.

6737.4M62](/packages/jbroadway-urlify)[pid/speakingurl

Generate of so called 'static' or 'Clean URL' or 'Pretty URL' or 'nice-looking URL' or 'Speaking URL' or 'user-friendly URL' or 'SEO-friendly URL' or 'slug' from a string.

1.1k5.3k1](/packages/pid-speakingurl)[voku/urlify

PHP port of URLify.js from the Django project. Transliterates non-ascii characters for use in URLs.

254.1M7](/packages/voku-urlify)[keyvanakbary/slugifier

A full-featured, simple, clean and pure functional implementation for creating slugs

68187.9k4](/packages/keyvanakbary-slugifier)[wazum/sluggi

TYPO3 extension for URL slug management with inline editing, auto-sync, locking, access control, and redirects

39488.5k](/packages/wazum-sluggi)[internetgalerie/ig-slug

Rebuild URL slugs

12861.7k2](/packages/internetgalerie-ig-slug)

PHPackages © 2026

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