CSC Digital Printing System

Laravel slug package. Oct 14, 2025 · In this comprehensive guide, we’ll dive ...

Laravel slug package. Oct 14, 2025 · In this comprehensive guide, we’ll dive deep into everything you need to know about Laravel slugs, from basic implementation to advanced optimization techniques. You can use this package along with laravel-translatable to generate a slug for each locale. You can disable this behaviour by calling allowDuplicateSlugs. Spatie is a web design agency based in Antwerp, Belgium. The extension is more complex to install compared to "user-land" PHP packages but may yield better performance for applications that make heavy use of Redis. Instead of using the HasSlug trait, you must use the HasTranslatableSlug trait, and add the name of the slug field to the $translatable array. Mar 11, 2026 · By default the package will generate unique slugs by appending '-' and a number, to a slug that already exists. Caches config like Laravel, but allows you to set certain variables to still be called from environment. We've already laid the foundation — freeing you to create without sweating the small things. Jan 12, 2026 · This package by Spatie offers a convenient way to generate slugs for Eloquent models in Laravel applications. Feb 21, 2026 · You can use this package along with laravel-translatable to generate a slug for each locale. Before using Redis with Laravel, we encourage you to install and use the PhpRedis PHP extension via PECL. Apr 23, 2023 · Learn how to generate and use slugs in Laravel for clean and SEO-friendly URLs. Laravel is a PHP web application framework with expressive, elegant syntax. - GeNyaa/laravel-safe-config. After the package is installed the only thing you have to do is add the HasTags trait to an Eloquent model to make it taggable. This repo can be used to scaffold a Laravel package. You can support us by buying one of our paid products. What Are Slugs and Why Do They Matter? Slugs are URL-friendly versions of your content titles or names. This keeps the URLs unique. With features like customizable slug generation, language settings, and options to prevent overwriting slugs, it provides flexibility and ease of use for developers working with Laravel. This package provides a trait that will generate a unique slug when saving any Eloquent model. We highly appreciate you sending us a postcard from your hometown, mentioning Add tags and taggable behaviour to a Laravel app This package offers taggable behaviour for your models. Improve user experience and search engine ranking Easy creation of slugs for your Eloquent models in Laravel. Eloquent-Sluggable is a Laravel package designed to easily handle the creation and management of slugs for Eloquent models. The slugs are generated with the Laravels Str::slug method. The Eloquent-Sluggable package for Laravel aims to handle all of this for you automatically, with minimal configuration. Follow these steps to get started: We invest a lot of resources into creating best in class open source packages. It automates slug generation, ensuring they are SEO-friendly and unique, with minimal setup required. 1 day ago · Laravel Sluggable Overview An opinionated package to create slugs for Eloquent models Generate slugs when saving Eloquent models. ydguqy dnlfex mpw dyeac wrrcwu zsdrhl wms kcgedcm wpblx fsx

Laravel slug package.  Oct 14, 2025 · In this comprehensive guide, we’ll dive ...Laravel slug package.  Oct 14, 2025 · In this comprehensive guide, we’ll dive ...