PHP Package: cviebrock/eloquent-sluggable
A PHP library for creating SEO-friendly slugs for Eloquent models with Laravel.
Package Description
Eloquent-Sluggable is a powerful library that enables the creation of search engine optimized slugs for your Eloquent models in Laravel applications. It provides an easy way to generate unique and readable URLs based on specific attributes of your models. This package offers flexibility and customization for defining slug generation rules, handling duplicate slugs, and ensuring URL uniqueness.
Download Latest Version: 12.0.0

Code Integration Example
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/cviebrock/eloquent-sluggable/12.0.0/loader.php';
require_once 'libs/illuminate/database/12.18.0/loader.php';
require_once 'libs/illuminate/support/12.18.0/loader.php';
use Cviebrock\EloquentSluggable\SluggableScopeHelpers;
use Cviebrock\EloquentSluggable\SluggableServiceProvider;
$obj = new SluggableScopeHelpers();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.