PHPackages                             intothesource/laravel-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. intothesource/laravel-slugable

ActiveLibrary

intothesource/laravel-slugable
==============================

A laravel slugable trait

1.0(6y ago)0699↓100%MITPHP

Since Jul 26Pushed 6y agoCompare

[ Source](https://github.com/Source-Developer/laravel-slugable)[ Packagist](https://packagist.org/packages/intothesource/laravel-slugable)[ RSS](/packages/intothesource-laravel-slugable/feed)WikiDiscussions master Synced 1mo ago

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

Slugable
========

[](#slugable)

This package will automatic figure out what the slug is going to be based on the `title` by default
or specified with the `slugableColumn` variable value that you can specify on your model.

> Note: This package will try to never use a old slug, because of SEO friendliness and old links that will link to wrong results.

Usage
-----

[](#usage)

Add `use Slugable` to your model, like the example below:

```
