Laravel Sluggable: Add a slug property to models used in Laravel apps

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2021-04-27 (8 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 10 This week: 10All time: 10,277 This week: 18Up
Version License PHP version Categories
laravel-sluggable 1.0MIT/X Consortium ...7Databases, Libraries, Design Patterns, P...
Description Author

This package can add a slug property to models used in Laravel applications.

It provides a trait that can be used in Laravel model classes to generate a slug property value automatically from the values of another property specified in the model class.

A separate configuration file defines if the slug values are generated on the object creation or update times, and if the slug value must be unique to be considered valid.

Simplest Sluggable for Laravel Eloquent/Model

Add a slug property to model classes used in Larav

Picture of Moamen Eltouny
  Performance   Level  
Name: Moamen Eltouny <contact>
Classes: 17 packages by
Country: Egypt Egypt
Age: 28
All time rank: 330035 in Egypt Egypt
Week rank: 7 Up1 in Egypt Egypt Up
Innovation award
Innovation award
Nominee: 9x

 

  Files folder image Files  
File Role Description
Files folder imagesrc (3 files)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Plain text file README.md Class Class source

  Files folder image Files  /  src  
File Role Description
  Accessible without login Plain text file config.php Aux. Auxiliary script
  Plain text file Sluggable.php Class Class source
  Plain text file SluggableServiceProvider.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:10
This week:10
All time:10,277
This week:18Up

For more information send a message to info at phpclasses dot org.