PHPackages                             pharaonic/php-slugify - 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. pharaonic/php-slugify

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

pharaonic/php-slugify
=====================

Simplest Slugify for PHP

2.0.0(8mo ago)97.1k↓41.7%81MITPHPPHP ^8.0CI passing

Since Apr 27Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/Pharaonic/php-slugify)[ Packagist](https://packagist.org/packages/pharaonic/php-slugify)[ RSS](/packages/pharaonic-php-slugify/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (2)Versions (7)Used By (1)

[![](https://raw.githubusercontent.com/Pharaonic/logos/main/php/slugify.jpg)](https://pharaonic.io)

 [![source](https://github.com/Pharaonic/php-slugify/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/Pharaonic/php-slugify/actions/workflows/build.yml) [![PHP Version : >= 7.2](https://camo.githubusercontent.com/bb01197b2c66b1e563469f4f53651a91b1395d371ea693f2461014fb1b7a0a2b/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d504850266d6573736167653d5e382e3026636f6c6f723d626c7565267374796c653d666c61742d737175617265)](https://php.net) [![License](https://camo.githubusercontent.com/3bddc4b57ffbc3131c11447992761f4160ae9a1f1263563a50e73cc8d4369a27/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d4c6963656e7365266d6573736167653d4d495426636f6c6f723d627269676874677265656e267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/3bddc4b57ffbc3131c11447992761f4160ae9a1f1263563a50e73cc8d4369a27/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d4c6963656e7365266d6573736167653d4d495426636f6c6f723d627269676874677265656e267374796c653d666c61742d737175617265)
 [![Source](https://camo.githubusercontent.com/a43fc47ffc1cd611cab8bdb42b288701993794116fc5b5aef78143625d57dd77/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d5061636b6167697374266d6573736167653d70686172616f6e69632f7068702d736c756769667926636f6c6f723d626c7565266c6f676f3d7061636b6167697374266c6f676f436f6c6f723d7768697465)](https://packagist.org/packages/Pharaonic/php-slugify) [![Packagist Version](https://camo.githubusercontent.com/1978e4d1d0da21fd0b16f8c334bb8170b36bd3416d13b2d15f1a6fdd653f948b/68747470733a2f2f706f7365722e707567782e6f72672f70686172616f6e69632f7068702d736c75676966792f76)](https://packagist.org/packages/pharaonic/php-slugify) [![Packagist Downloads](https://camo.githubusercontent.com/ce2032afba4a815407c0f6dedc0a45a8283938fdb6e0766608c5783d575c2f26/68747470733a2f2f706f7365722e707567782e6f72672f70686172616f6e69632f7068702d736c75676966792f646f776e6c6f616473)](https://packagist.org/packages/pharaonic/php-slugify)

### Simplest Slugify for PHP to convert string into a slug.

[](#simplest-slugify-for-php-to-convert-string-into-a-slug)

Documentation
-------------

[](#documentation)

You can find the detailed documentation here in [Slugify Documentation](https://pharaonic.io/packages/php/slugify).

Contributing
------------

[](#contributing)

Thank you for considering contributing to this package! Be one of Pharaonic team.

License
-------

[](#license)

This package is an open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance59

Moderate activity, may be stable

Popularity32

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 88.6% 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 ~397 days

Total

5

Last Release

257d ago

Major Versions

1.3.0 → 2.0.02025-09-03

PHP version history (2 changes)1.0PHP &gt;=7.0

1.3.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/73609630?v=4)[Pharaonic](/maintainers/Pharaonic)[@Pharaonic](https://github.com/Pharaonic)

---

Top Contributors

[![MoamenEltouny](https://avatars.githubusercontent.com/u/16774083?v=4)](https://github.com/MoamenEltouny "MoamenEltouny (31 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (4 commits)")

---

Tags

laravelphpslugslugifyphpslugslugifysluggable

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pharaonic-php-slugify/health.svg)

```
[![Health](https://phpackages.com/badges/pharaonic-php-slugify/health.svg)](https://phpackages.com/packages/pharaonic-php-slugify)
```

###  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)[ausi/slug-generator

Slug Generator

8002.2M22](/packages/ausi-slug-generator)[aimeos/aimeos-base

Aimeos base layer for abstracting from host environments

2.1k134.0k1](/packages/aimeos-aimeos-base)[keyvanakbary/slugifier

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

68187.9k4](/packages/keyvanakbary-slugifier)[josezenem/laravel-slugidable

A package for Laravel that creates slugs for Eloquent models based on title and ID

1159.5k](/packages/josezenem-laravel-slugidable)

PHPackages © 2026

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