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 (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2021-04-27 (2 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 28 This week: 1All time: 10,245 This week: 173Up
Version License PHP version Categories
laravel-sluggable 1.0.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.

Innovation Award
PHP Programming Innovation award nominee
May 2021
Number 3
Model classes are often used to manage records that store information about the content associated with certain Web pages.

Ideally, the URLs of the pages should be easy to ready, so users may have an idea about what the pages contain when they see a URL of a page.

This package makes it easy to generate slug text from titles of pages stored in database records managed by Laravel model classes.

Manuel Lemos
Picture of Moamen Eltouny
  Performance   Level  
Name: Moamen Eltouny <contact>
Classes: 26 packages by
Country: Egypt Egypt
Age: 28
All time rank: 306533 in Egypt Egypt
Week rank: 33 Up1 in Egypt Egypt Up
Innovation award
Innovation award
Nominee: 13x

  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:28
This week:1
All time:10,245
This week:173Up

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