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

ActiveLibrary

fx/laravel-slug
===============

get slug in laravel

v1.1(6y ago)127MITPHP

Since Jun 11Pushed 6y agoCompare

[ Source](https://github.com/nfangxu/package-fx-laravel-slug)[ Packagist](https://packagist.org/packages/fx/laravel-slug)[ RSS](/packages/fx-laravel-slug/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Laravel Slug
------------

[](#laravel-slug)

### depends

[](#depends)

- [fx/translation](https://github.com/nfangxu/package-fx-translation)

### Installation

[](#installation)

- `composer require fx/laravel-slug`

### Usage

[](#usage)

- example:

```
// routes/web.php
use Fx\Slug\Contacts\FxSlug;

Route::get('/', function (FxSlug $slug) {
    dd($slug->slug('我爱我的祖国')); // i-love-my-country
});
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

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

Total

2

Last Release

2328d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/48e745eaab94e5e8f347aadc5b74046bb174895188f0507b1d46c0fa6cee6555?d=identicon)[nfangxu](/maintainers/nfangxu)

---

Top Contributors

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

---

Tags

phpsluglaravel

### Embed Badge

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

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

###  Alternatives

[octw/aramex

A Library to integrate with Aramex APIs

2925.2k](/packages/octw-aramex)

PHPackages © 2026

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