How to Implement a Laravel Slug Generator to Create SEO Friendly URLs for Model Classes - Laravel Sluggable package blog

Recommend this page to a friend!
  All package blogs All package blogs   Laravel Sluggable Laravel Sluggable   Blog Laravel Sluggable package blog   RSS 1.0 feed RSS 2.0 feed   Blog How to Implement a La...  
  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Updated on: 2021-06-04

Posted on: 2021-06-04

Package: Laravel Sluggable

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.




Loaded Article

About the Laravel Sluggable Package

The package Laravel Sluggable is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Add a slug property to models used in Laravel apps

Here follows in more detail what it does:

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.

Conclusion

The Laravel Sluggable can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.

This package was considered notable for implementing its benefits in a way that is worth noticing.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.

One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.




You need to be a registered user or login to post a comment

Login Immediately with your account on:

FacebookGmail
HotmailStackOverflow
GitHubYahoo


Comments:

No comments were submitted yet.



  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  
  All package blogs All package blogs   Laravel Sluggable Laravel Sluggable   Blog Laravel Sluggable package blog   RSS 1.0 feed RSS 2.0 feed   Blog How to Implement a La...  
For more information send a message to info at phpclasses dot org.