Download the PHP package roundly-consulting/sluggable-for-laravel without Composer
On this page you can find all versions of the php package roundly-consulting/sluggable-for-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download roundly-consulting/sluggable-for-laravel
More information about roundly-consulting/sluggable-for-laravel
Files in roundly-consulting/sluggable-for-laravel
Package sluggable-for-laravel
Short Description Single- and multi-language (json/jsonb locale-map) slugs for Eloquent: multiple columns per model, scoped per-locale uniqueness with engine-native indexes, locale-aware route binding, SEO slug history — native, zero third-party deps.
License MIT
Homepage https://roundly-consulting.com/open-source/docs/sluggable-for-laravel
Informations about the package sluggable-for-laravel
Sluggable for Laravel
Single- and multi-language slugs for Eloquent: plain string slug columns and JSON locale-map
columns, scoped per-locale uniqueness backed by engine-native unique indexes, locale-aware route
model binding, validation rules and an optional slug history with 301 redirects. With the
defaults, ordinary input slugs exactly like Str::slug(), so adopting it keeps the slugs you
already have.
Installation
Requires PHP 8.4 and Laravel 12 or 13. Supported databases: PostgreSQL 12+ and MySQL 8.0.23+ / MariaDB 10.3.3+ (SQLite 3.38+ for tests). SQL Server is not supported.
Usage
Add the trait (zero config: slug is generated from name) and the column:
Every save gets a unique slug, and it stays put when the name changes, so links never break:
Documentation
The full documentation — configuration, every feature and its API, and testing — lives on our website: roundly-consulting.com/open-source/docs/sluggable-for-laravel
Release notes are in CHANGELOG.md. To contribute, see the contributing guide.
Support our work
This package is free and open source, built and maintained by Roundly Consulting. If it saves you time, please consider supporting our open-source work — a one-time donation, a monthly pledge on Patreon or a crypto donation helps fund maintenance, new features and new packages.
License
The MIT License (MIT). See LICENSE.md.
All versions of sluggable-for-laravel with dependencies
ext-json Version *
ext-mbstring Version *
illuminate/bus Version ^12.0|^13.0
illuminate/console Version ^12.0|^13.0
illuminate/contracts Version ^12.0|^13.0
illuminate/database Version ^12.0|^13.0
illuminate/http Version ^12.0|^13.0
illuminate/queue Version ^12.0|^13.0
illuminate/routing Version ^12.0|^13.0
illuminate/support Version ^12.0|^13.0
illuminate/validation Version ^12.0|^13.0
roundly-consulting/enums-for-laravel Version ^1.1.0
roundly-consulting/package-toolkit-for-laravel Version ^1.3.0