PHPackages                             mx13/slugable - 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. [Database &amp; ORM](/categories/database)
4. /
5. mx13/slugable

ActiveLibrary[Database &amp; ORM](/categories/database)

mx13/slugable
=============

A package to add slug functionality to an Eloquent model

1.0.0(6y ago)010MITPHP

Since Sep 20Pushed 6y agoCompare

[ Source](https://github.com/mansonxasthur/slugable)[ Packagist](https://packagist.org/packages/mx13/slugable)[ RSS](/packages/mx13-slugable/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Slugable
========

[](#slugable)

- [Introduction](#introduction)
- [Installation](#installation)
- [Usage](#usage)

Introduction
------------

[](#introduction)

A package to add slug functionality to an Eloquent model.

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

[](#installation)

Install the package through [Composer](http://getcomposer.org/).

Run the Composer require command from the Terminal:

```
 composer require mx13/slugable

```

Usage
-----

[](#usage)

- The Eloquent model should implement the `\MX13\Slugable\SlugInterface` contract which enforces implementing the `getSlugColumn()` method which returns the name of the slug column.
- The Eloquent model should use `\MX13\Slugable\Slugable` trait which has all the functionality needed to make the Eloquent model slugable.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

2475d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7823982?v=4)[Mahdi Zarrintareh](/maintainers/mx13)[@mx13](https://github.com/mx13)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mx13-slugable/health.svg)

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8441.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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