Fully integrated
facilities management

Laravel slug package. Laravel is a PHP web application framework with expressive,...


 

Laravel slug package. Laravel is a PHP web application framework with expressive, elegant syntax. Follow these steps to get started: We invest a lot of resources into creating best in class open source packages. You can disable this behaviour by calling allowDuplicateSlugs. Improve user experience and search engine ranking Easy creation of slugs for your Eloquent models in Laravel. We've already laid the foundation — freeing you to create without sweating the small things. Caches config like Laravel, but allows you to set certain variables to still be called from environment. 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. What Are Slugs and Why Do They Matter? Slugs are URL-friendly versions of your content titles or names. 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. 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. 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. - GeNyaa/laravel-safe-config. 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. This package provides a trait that will generate a unique slug when saving any Eloquent model. Before using Redis with Laravel, we encourage you to install and use the PhpRedis PHP extension via PECL. 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. Eloquent-Sluggable is a Laravel package designed to easily handle the creation and management of slugs for Eloquent models. This keeps the URLs unique. You can support us by buying one of our paid products. 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. 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. Spatie is a web design agency based in Antwerp, Belgium. 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. You can use this package along with laravel-translatable to generate a slug for each locale. Apr 23, 2023 · Learn how to generate and use slugs in Laravel for clean and SEO-friendly URLs. zxa awyaw zhm vwklz bnm odws xlkg qdgsuy zclam lgvx

Laravel slug package.  Laravel is a PHP web application framework with expressive,...Laravel slug package.  Laravel is a PHP web application framework with expressive,...