ahmetsabri/abdulhamid-laravel-slug

simple laravel slugging package

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/ahmetsabri/abdulhamid-laravel-slug

v1.1 2023-07-08 12:52 UTC

This package is auto-updated.

Last update: 2025-09-08 17:28:00 UTC


README

A laravel package to slugg columns via your models .

installation :

composer require ahmetsabri/abdulhamid-laravel-slug

Usage :

  • use Sluggable trait in your model
  • Define $sluggable property in your model to select which columns to be slug

Example :

use Ahmetsabri\Abdulhamid\Searchable;

class Post extends Model {

  use Sluggable ;
  protected $sluggable = 'title';
  

That's it !