PHPackages                             emirhg/slug.php - 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. emirhg/slug.php

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

emirhg/slug.php
===============

Slug helpers. Forked from https://github.com/kevinlebrun/slug.php

v1.0.2(10y ago)021MITPHPPHP &gt;=5.3.0

Since Dec 3Pushed 10y ago1 watchersCompare

[ Source](https://github.com/emirhg/slug.php)[ Packagist](https://packagist.org/packages/emirhg/slug.php)[ Docs](https://github.com/emirhg/slug.php)[ RSS](/packages/emirhg-slugphp/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

Slug
====

[](#slug)

[![Build Status](https://camo.githubusercontent.com/139500743fcafb88adf7092cefd076ba9a369057541f60bba69167d3014feb3a/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6b6576696e6c656272756e2f736c75672e7068702e706e67)](http://travis-ci.org/kevinlebrun/slug.php?branch=master)[![Coverage Status](https://camo.githubusercontent.com/467ccf959516bf9d86d6a69338f112785b7742c5942e636154a8bda08a00ff90/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6b6576696e6c656272756e2f736c75672e7068702f62616467652e706e67)](https://coveralls.io/r/kevinlebrun/slug.php)

[![Latest Stable Version](https://camo.githubusercontent.com/a5f60c57bcb6b64e57477094ed64f2500ec32eae0f323589f5fe9a8315794684/68747470733a2f2f706f7365722e707567782e6f72672f6b6576696e6c656272756e2f736c75672e7068702f762f737461626c652e706e67)](https://packagist.org/packages/kevinlebrun/slug.php)[![Total Downloads](https://camo.githubusercontent.com/a4b9c74c177705183c2c59e5eab78f3157dea714053d82a28bc37a1e87251882/68747470733a2f2f706f7365722e707567782e6f72672f6b6576696e6c656272756e2f736c75672e7068702f646f776e6c6f6164732e706e67)](https://packagist.org/packages/kevinlebrun/slug.php)

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

[](#installation)

Installation via composer is highly recommended.

```
{
    "require": {
        "kevinlebrun/slug.php": "1.*"
    }
}
```

```
$ curl -s https://getcomposer.org/installer | php
$ php composer.phar install

```

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

[](#contributing)

Install development dependencies:

```
$ curl -s https://getcomposer.org/installer | php
$ php composer.phar install --dev

```

All tests must pass:

```
$ bin/phpunit

```

Code style conventions must be followed:

```
$ bin/phpcs --standard=phpcs.xml -p .

```

Contributors
------------

[](#contributors)

- Andre Cardoso

License
-------

[](#license)

(The MIT License)

Copyright (c) 2013 Kevin Le Brun

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 88.9% 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 ~418 days

Total

4

Last Release

3653d ago

Major Versions

0.1.0 → 1.0.02013-06-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/14ba0b290111606d2c251c17986d34b1707dd6bc0d43c80c8c99164f66426d83?d=identicon)[emirhg](/maintainers/emirhg)

---

Top Contributors

[![kevinlebrun](https://avatars.githubusercontent.com/u/798082?v=4)](https://github.com/kevinlebrun "kevinlebrun (8 commits)")[![andrebian](https://avatars.githubusercontent.com/u/2091739?v=4)](https://github.com/andrebian "andrebian (1 commits)")

---

Tags

slughelperutilgenerate

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/emirhg-slugphp/health.svg)

```
[![Health](https://phpackages.com/badges/emirhg-slugphp/health.svg)](https://phpackages.com/packages/emirhg-slugphp)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[kevinlebrun/slug.php

Slug helpers

4451.4k1](/packages/kevinlebrun-slugphp)[kevinlebrun/password.php

Helpers for password generation and validation

17142.3k1](/packages/kevinlebrun-passwordphp)[beste/json

A simple JSON helper to decode and encode JSON

4222.7M3](/packages/beste-json)[chillerlan/php-settings-container

A container class for immutable settings objects. Not a DI container.

3427.3M21](/packages/chillerlan-php-settings-container)

PHPackages © 2026

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