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

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

wanakin/slug
============

A simple slug service for Laravel.

0.0.2(4y ago)014MITPHP

Since Jan 17Pushed 4y ago2 watchersCompare

[ Source](https://github.com/WanaKin/Slug)[ Packagist](https://packagist.org/packages/wanakin/slug)[ RSS](/packages/wanakin-slug/feed)WikiDiscussions main Synced 3w ago

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

Deprecated
==========

[](#deprecated)

The goal of this package was to simplify the job of adding custom slugs to models, and taking care of things like model binding. However, we ultimately decided that adding a `slug` column directly to our migrations worked better for our use case, and have therefore decided to archive this repository.

For those of you wondering, here's how we usually set up slugs:

```
$table->string('slug')->unique();
```

Setting `unique` also indexes the column, so lookups by the slug can avoid a full table scan.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

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

Total

2

Last Release

1806d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/45668276?v=4)[WanaKin Labs LLC](/maintainers/wanakin)[@WanaKin](https://github.com/WanaKin)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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