PHPackages                             codetech/laravel-sluggable - 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. codetech/laravel-sluggable

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

codetech/laravel-sluggable
==========================

A Laravel package that allows you to assign settings to your models.

v0.1.0(5y ago)011MITPHPPHP ^7.2|^8.0

Since Jul 12Pushed 4y ago1 watchersCompare

[ Source](https://github.com/CodeTechAgency/laravel-sluggable)[ Packagist](https://packagist.org/packages/codetech/laravel-sluggable)[ RSS](/packages/codetech-laravel-sluggable/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (3)Versions (5)Used By (0)

[![laravel-sluggable-repo-banner](https://user-images.githubusercontent.com/17640929/162696686-4395bd00-cdaa-49fc-94f3-ed60cacbaf8b.png)](https://user-images.githubusercontent.com/17640929/162696686-4395bd00-cdaa-49fc-94f3-ed60cacbaf8b.png)

Laravel Sluggable
=================

[](#laravel-sluggable)

Laravel package for managing models' slugs.

[![Latest version](https://camo.githubusercontent.com/905e7e9fa3b45edbbf6783903bcce201dd25949d39fecab6428a13e1e3d6a6ec/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f436f6465546563684167656e63792f6c61726176656c2d736c75676761626c653f7374796c653d666c61742d737175617265)](https://github.com/CodeTechAgency/laravel-sluggable/releases)[![GitHub license](https://camo.githubusercontent.com/e2cea50b1a37017b5e5af1d2457286c010e049342bbd94a3428dd403dd73dc0d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f436f6465546563684167656e63792f6c61726176656c2d736c75676761626c653f7374796c653d666c61742d737175617265)](https://github.com/CodeTechAgency/laravel-sluggable/blob/master/LICENSE)

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

[](#installation)

Add the package to your Laravel app using composer

```
composer require codetech/laravel-sluggable

```

### Service Provider

[](#service-provider)

Register the package's service provider in config/app.php. In Laravel versions 5.5 and beyond, this step can be skipped if package auto-discovery is enabled.

```
'providers' => [

    ...
    Codetech\Sluggable\Providers\SluggableServiceProvider::class,
    ...

];

```

Usage
-----

[](#usage)

Use the trait in your models.

```

use CodeTech\Sluggable\Traits\HasSlug;

class Theme extends Model
{
    use HasSlug;

    ...

```

---

License
-------

[](#license)

**codetech/laravel-sluggable** is open-sourced software licensed under the [MIT license](https://github.com/CodeTechAgency/laravel-sluggable/blob/master/LICENSE).

About CodeTech
--------------

[](#about-codetech)

[CodeTech](https://www.codetech.pt) is a web development agency based on Matosinhos, Portugal. Oh, and we LOVE Laravel!

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Total

4

Last Release

1871d ago

PHP version history (2 changes)v0.0.1-betaPHP ^7.2

v0.0.3PHP ^7.2|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6adaef8b30d5d0dee7bc2484fd9b0a9ad33e38afb78fc5d18d79d6239c811c76?d=identicon)[jfrosorio](/maintainers/jfrosorio)

---

Top Contributors

[![jfrosorio](https://avatars.githubusercontent.com/u/17640929?v=4)](https://github.com/jfrosorio "jfrosorio (6 commits)")

---

Tags

sluglaravellaravel-packagelaravel-sluggablecodetecheloquent-models

### Embed Badge

![Health badge](/badges/codetech-laravel-sluggable/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)[watson/active

Laravel helper for recognising the current route, controller and action

3253.6M14](/packages/watson-active)[dragon-code/pretty-routes

Pretty Routes for Laravel

10058.7k4](/packages/dragon-code-pretty-routes)[erag/laravel-pwa

A simple and easy-to-use PWA (Progressive Web App) package for Laravel applications.

16083.3k](/packages/erag-laravel-pwa)[bjuppa/laravel-blog

Add blog functionality to your Laravel project

483.3k2](/packages/bjuppa-laravel-blog)

PHPackages © 2026

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